MotionScript

@motion-script/core


@motion-script/core / CapsuleGeometry3D

Interface: CapsuleGeometry3D

Defined in: render3d/geometry.ts:116

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

capSegments?

optional capSegments?: number

Defined in: render3d/geometry.ts:121


height?

optional height?: number

Defined in: render3d/geometry.ts:120

Length of the straight mid-section, excluding the caps.


params?

optional params?: Record<string, unknown>

Defined in: render3d/geometry.ts:14

Inherited from

Passthrough3D.params


radialSegments?

optional radialSegments?: number

Defined in: render3d/geometry.ts:122


radius?

optional radius?: number

Defined in: render3d/geometry.ts:118


type

type: "capsule"

Defined in: render3d/geometry.ts:117