MotionScript

@motion-script/core


@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?

optional detail?: number

Defined in: render3d/geometry.ts:130

Subdivision count. Raising this on an icosahedron approximates a sphere.


params?

optional params?: Record<string, unknown>

Defined in: render3d/geometry.ts:14

Inherited from

Passthrough3D.params


radius?

optional radius?: 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