Skip to content

Documentation / @ripl/vue-3d / SHAPE_3D_KEYS

Variable: SHAPE_3D_KEYS ​

const SHAPE_3D_KEYS: object

Defined in: vue-3d/src/core/props.ts:68

The state properties specific to each built-in 3D shape, keyed by shape type.

Type Declaration ​

bezierSurface ​

readonly bezierSurface: readonly ["revision", "segments"]

The state properties specific to a Bézier surface.

cone ​

readonly cone: readonly ["height", "radius", "segments"]

The state properties specific to a cone.

cube ​

readonly cube: readonly ["size"]

The state properties specific to a cube.

cylinder ​

readonly cylinder: readonly ["height", "radiusBottom", "radiusTop", "segments"]

The state properties specific to a cylinder.

mesh ​

readonly mesh: readonly ["revision"]

The state properties specific to a mesh.

parametric ​

readonly parametric: readonly ["revision", "uSegments", "vSegments"]

The state properties specific to a parametric surface.

plane ​

readonly plane: readonly ["height", "width"]

The state properties specific to a plane.

sphere ​

readonly sphere: readonly ["radius", "rings", "segments"]

The state properties specific to a sphere.

torus ​

readonly torus: readonly ["radialSegments", "radius", "tube", "tubularSegments"]

The state properties specific to a torus.