KS.Reactor.ksShape Class Reference

A base class of the shapes used in the scene queries. More...

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

Public Types

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

ShapeTypes m_shapeType = ShapeTypes.NO_COLLIDER
 

Properties

ShapeTypes Type [get]
 Type of shape. More...
 
bool IsQueryShape [get]
 Is the shape usable in scene queries? More...
 

Detailed Description

A base class of the shapes used in the scene queries.

Member Enumeration Documentation

◆ Axis

Axis used for revolute shapes (capsule, cylinder, cones).

◆ ShapeTypes

enum KS.Reactor.ksShape.ShapeTypes : int
strong

Support shapes for scene queries.

Property Documentation

◆ IsQueryShape

bool KS.Reactor.ksShape.IsQueryShape
get

Is the shape usable in scene queries?

◆ Type

ShapeTypes KS.Reactor.ksShape.Type
get

Type of shape.