Static
createCreates an occluder object that only render depth but not color
The type of primitive to create
The created object
Static
createCreates a primitive object like a Cube or Sphere
The type of primitive to create
Optional
opts: ObjectOptionsOptions to create the object
The created object
Optional
opts: ObjectOptionsStatic
createCreates a Sprite object
Optional
opts: Omit<ObjectOptions, "material">Options to create the object
The created object
Static
createCreates a 3D text object
The text to display
Optional
opts: TextOptionsOptions to create the object
Generated using TypeDoc
Utility class to create primitive objects
Example