Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PrimitiveDefinition

The size, shape, and description of a primitive.

Hierarchy

  • PrimitiveDefinition

Index

Properties

Optional dimensions

dimensions: Vector3Like

The size of boxes, cylinders, capsules, and planes.

Optional radius

radius: number

The radius of spheres, cylinders, and capsules.

shape

The general shape of the defined primitive.

Optional uSegments

uSegments: number

The number of horizontal or radial segments of spheres, cylinders, capsules, and planes.

Optional vSegments

vSegments: number

The number of vertical or axial segments of spheres, capsules, and planes.