Skip to main content

CapsuleGeometry

@3dverse/livelink v0.8.10


@3dverse/livelink / Components / CapsuleGeometry

Type Alias: CapsuleGeometry

CapsuleGeometry: object

Defined in: node_modules/@3dverse/livelink.core/dist/_prebuild/engine_types/components.d.ts:134

Capsule geometry.

Type declaration

radius

radius: Float

Radius of the spheres at each end of the capsule.

Default Value

0.5;

height

height: Float

Height of the cylindrical part of the capsule.

Default Value

1;

axis

axis: Int32

Alignment axis. 0 for X, 1 for Y, 2 for Z.

Default Value

1;

offset

offset: Vec3

Geometry offset.

Default Value

0, 0, 0;