Sphere. More...
Public Member Functions | |
ksSphere (float radius) | |
Constructs a sphere with a given radius. More... | |
Properties | |
float | Radius [get, set] |
Gets/Sets the sphere radius. More... | |
![]() | |
ShapeTypes | Type [get] |
Type of shape. More... | |
bool | IsQueryShape [get] |
Is the shape usable in scene queries? More... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
ShapeTypes | m_shapeType = ShapeTypes.NO_COLLIDER |
Sphere.
KS.Reactor.ksSphere.ksSphere | ( | float | radius | ) |
Constructs a sphere with a given radius.
radius |
|
getset |
Gets/Sets the sphere radius.