@motion-script/core / PolyhedronGeometry3D
Interface: PolyhedronGeometry3D
Defined in: render3d/geometry.ts:125
Anything not modelled by a named field, assigned straight onto the constructed object. The documented last resort — unsafe by construction (it bypasses the type system, and the renderer treats any change to it as a full rebuild since it cannot know what a given key affects), but it means no author is ever blocked waiting for a field to be modelled here.
Extends
Properties
detail?
optionaldetail?:number
Defined in: render3d/geometry.ts:130
Subdivision count. Raising this on an icosahedron approximates a sphere.
params?
optionalparams?:Record<string,unknown>
Defined in: render3d/geometry.ts:14
Inherited from
radius?
optionalradius?:number
Defined in: render3d/geometry.ts:128
shape
shape:
"tetrahedron"|"octahedron"|"icosahedron"|"dodecahedron"
Defined in: render3d/geometry.ts:127
type
type:
"polyhedron"
Defined in: render3d/geometry.ts:126