KS.Reactor.ksSphere Class Reference

Sphere. More...

Inheritance diagram for KS.Reactor.ksSphere:
KS.Reactor.ksShape

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...
 
- 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
 

Detailed Description

Sphere.

Constructor & Destructor Documentation

◆ ksSphere()

KS.Reactor.ksSphere.ksSphere ( float  radius)

Constructs a sphere with a given radius.

Parameters
radius

Property Documentation

◆ Radius

float KS.Reactor.ksSphere.Radius
getset

Gets/Sets the sphere radius.