Box. More...
Public Member Functions | |
| ksBox (float x, float y, float z) | |
| Constructs a box with dimensions x, y, z. More... | |
| ksBox (ksVector3 size) | |
| Constructs a box with ksVector3. More... | |
Properties | |
| ksVector3 | Size [get, set] |
| Size. More... | |
| ksVector3 | HalfExtents [get, set] |
| Half extents. More... | |
Properties inherited from KS.Reactor.ksShape | |
| ShapeTypes | Type [get] |
| Type of shape. More... | |
| bool | IsQueryShape [get] |
| Is the shape usable in scene queries? More... | |
Additional Inherited Members | |
Public Types inherited from KS.Reactor.ksShape | |
| enum class | ShapeTypes : int { NO_COLLIDER = int.MaxValue , SPHERE = 0 , BOX = 1 , CAPSULE = 2 , PLANE = 3 , CYLINDER = 4 , CONE = 5 , CONVEX_MESH = 6 , TRIANGLE_MESH = 7 , HEIGHT_FIELD = 8 , CAPSULE_CONTROLLER = 9 } |
| Support shapes for scene queries. More... | |
| enum class | Axis { X = 0 , Y = 1 , Z = 2 } |
| Axis used for revolute shapes (capsule, cylinder, cones). More... | |
Protected Attributes inherited from KS.Reactor.ksShape | |
| ShapeTypes | m_shapeType = ShapeTypes.NO_COLLIDER |
Box.
| KS.Reactor.ksBox.ksBox | ( | float | x, |
| float | y, | ||
| float | z | ||
| ) |
Constructs a box with dimensions x, y, z.
| x | X size. |
| y | Y size. |
| z | Z size. |
|
getset |
Half extents.
|
getset |
Size.