ICreateCapsuleOptions

The options Interface for creating a Capsule Mesh

Hierarchy

  • ICreateCapsuleOptions

Index

Properties

Optional bottomCapSubdivisions

Find examples in Playground
bottomCapSubdivisions: number

Overwrite for the bottom capSubdivisions.

capSubdivisions

Find examples in Playground
capSubdivisions: number

Number of sub segments on the cap sections of the capsule running parallel to orientation.

height

Find examples in Playground
height: number

Height or Length of the capsule.

Optional orientation

Find examples in Playground
orientation: Vector3

The Orientation of the capsule. Default : Vector3.Up()

radius

Find examples in Playground
radius: number

Radius of the capsule.

Optional radiusBottom

Find examples in Playground
radiusBottom: number

Overwrite for the bottom radius.

Optional radiusTop

Find examples in Playground
radiusTop: number

Overwrite for the top radius.

subdivisions

Find examples in Playground
subdivisions: number

Number of sub segments on the tube section of the capsule running parallel to orientation.

tessellation

Find examples in Playground
tessellation: number

Number of cylindrical segments on the capsule.

Optional topCapSubdivisions

Find examples in Playground
topCapSubdivisions: number

Overwrite for the top capSubdivisions.

Generated using TypeDoc