-
Notifications
You must be signed in to change notification settings - Fork 155
boxGeometry
Wiki » Internal Components » Geometries » boxGeometry
Creates a THREE.BoxGeometry
number
required
: Width of the sides on the X axis.
number
required
: Height of the sides on the Y axis.
number
required
: Depth of the sides on the Z axis.
array of THREE.Vector3
: See THREE.Geometry#vertices.
array of THREE.Color
: See THREE.Geometry#colors.
array of (array of (array of THREE.Vector2))
: See THREE.Geometry#faceVertexUvs.
array of THREE.Face3
: See THREE.Geometry#faces.
bool
: See THREE.Geometry#dynamic.
Set to true if attribute buffers will need to change in runtime (using "dirty" flags).
Unless set to true internal typed arrays corresponding to buffers will be deleted once sent to GPU.
Defaults to true.
string
: Name for this geometry.
Default is an empty string.
number
: Number of segmented faces along the width of the sides.
Optional.
Default is 1.
number
: Number of segmented faces along the height of the sides.
Optional.
Default is 1.
number
: Number of segmented faces along the depth of the sides.
Optional.
Default is 1.
string
: The resource id of this object, only used if it is placed into resources.
This component can be added into <resources/>! See Resource Types for more information.
===
View Source |
---|
Home | Usage | API Reference | Examples