Constructor
new BoxShape(location, sides, rounded)
Construction
Parameters:
Name | Type | Description |
---|---|---|
location |
Isometry | Point | Either an isometry, or a point representing the center of the ball |
sides |
Vector3 | the side lengths of the box |
rounded |
number | if the box is rounded |
Classes
Members
center :Point
Center of the box
Type:
hasUVMap
The UV coordinates corresponds to the spherical coordinates on the sphere... Not sure if that is the smartest choice
isBoxShape :boolean
Says that the object inherits from BoxShape
Type:
- boolean
isGlobal :boolean
Says whether the shape is global. True if global, false otherwise.
Type:
- boolean