Public Member Functions | |
ksSweepParams () | |
Default constructor More... | |
ksSweepParams (ksShape shape, ksVector3 origin, ksQuaternion rotation, ksVector3 direction, float distance, ksIQueryFilter filter=null, ksIEntity excludeEntity=null, ksQueryFlags flags=ksQueryFlags.DEFAULT) | |
Construct a shape sweep using an origin point, direction and distance. More... | |
ksSweepParams (ksShape shape, ksVector3 origin, ksVector3 end, ksQuaternion rotation, ksIQueryFilter filter=null, ksIEntity excludeEntity=null, ksQueryFlags flags=ksQueryFlags.DEFAULT) | |
Construct a shape sweep using an origin and end point. More... | |
ksSweepParams (ksIEntity entity, ksVector3 direction, float distance, ksIQueryFilter filter=null, ksIEntityQueryColliderFilter colliderFilter=null, bool excludeSelf=true, ksQueryFlags flags=ksQueryFlags.DEFAULT) | |
Construct an entity sweep from the entity position and sweeping over a direction and distance. More... | |
ksSweepParams (ksIEntity entity, ksVector3 end, ksIQueryFilter filter=null, ksIEntityQueryColliderFilter colliderFilter=null, bool excludeSelf=true, ksQueryFlags flags=ksQueryFlags.DEFAULT) | |
Construct an entity sweep from the entity position and sweeping to an end point. More... | |
ksSweepParams (ksIEntity entity, ksVector3 origin, ksQuaternion rotation, ksVector3 direction, float distance, ksIQueryFilter filter=null, ksIEntityQueryColliderFilter colliderFilter=null, bool excludeSelf=true, ksQueryFlags flags=ksQueryFlags.DEFAULT) | |
Construct an entity sweep from a specified origin and rotation and sweeping over a direction and distance. More... | |
ksSweepParams (ksIEntity entity, ksVector3 origin, ksVector3 end, ksQuaternion rotation, ksIQueryFilter filter=null, ksIEntityQueryColliderFilter colliderFilter=null, bool excludeSelf=true, ksQueryFlags flags=ksQueryFlags.DEFAULT) | |
Construct an entity sweep from a specified origin and rotation and sweeping to an end point. More... | |
ksSweepParams (ksICollider collider, ksVector3 direction, float distance, ksIQueryFilter filter=null, bool excludeColliderEntity=true, ksQueryFlags flags=ksQueryFlags.DEFAULT) | |
Construct a collider sweep from the entity position and sweeping over a direction and distance. More... | |
ksSweepParams (ksICollider collider, ksVector3 end, ksIQueryFilter filter=null, bool excludeColliderEntity=true, ksQueryFlags flags=ksQueryFlags.DEFAULT) | |
Construct a collider sweep from the entity position and sweeping to an end point. More... | |
ksSweepParams (ksICollider collider, ksVector3 origin, ksQuaternion rotation, ksVector3 direction, float distance, ksIQueryFilter filter=null, bool excludeColliderEntity=true, ksQueryFlags flags=ksQueryFlags.DEFAULT) | |
Construct a collider sweep from a specified origin and rotation and sweeping over a direction and distance. More... | |
ksSweepParams (ksICollider collider, ksVector3 origin, ksVector3 end, ksQuaternion rotation, ksIQueryFilter filter=null, bool excludeColliderEntity=true, ksQueryFlags flags=ksQueryFlags.DEFAULT) | |
Construct a collider sweep from a specified origin and rotation and sweeping to an end point. More... | |
void | CopyTo (ksSweepParams target) |
Copies the values from this object to the target . More... | |
![]() | |
ksOverlapParams () | |
Constructor More... | |
ksOverlapParams (ksShape shape, ksVector3 origin, ksQuaternion rotation, ksIQueryFilter filter=null, ksIEntity excludeEntity=null, ksQueryFlags flags=ksQueryFlags.DEFAULT) | |
Constructor More... | |
ksOverlapParams (ksIEntity entity, ksIQueryFilter filter=null, ksIEntityQueryColliderFilter colliderFilter=null, bool excludeSelf=true, ksQueryFlags flags=ksQueryFlags.DEFAULT) | |
Entity overlap which uses the pose of the entity when the query is performed. More... | |
ksOverlapParams (ksIEntity entity, ksVector3 origin, ksQuaternion rotation, ksIQueryFilter filter=null, ksIEntityQueryColliderFilter colliderFilter=null, bool excludeSelf=true, ksQueryFlags flags=ksQueryFlags.DEFAULT) | |
Entity overlap which sets the pose; More... | |
ksOverlapParams (ksICollider collider, ksIQueryFilter filter=null, bool excludeColliderEntity=true, ksQueryFlags flags=ksQueryFlags.DEFAULT) | |
Collider overlap that uses the collider's entity's pose. More... | |
ksOverlapParams (ksICollider collider, ksVector3 origin, ksQuaternion rotation, ksIQueryFilter filter=null, bool excludeColliderEntity=true, ksQueryFlags flags=ksQueryFlags.DEFAULT) | |
Collider overlap that sets the pose. More... | |
override bool | Validate (bool log=true) |
Checks if the parameters are valid. More... | |
void | CopyTo (ksOverlapParams target) |
Copies the values from this object to the target . More... | |
![]() | |
void | CopyTo (ksBaseQueryParams target) |
Copies the values from this object to the target . More... | |
Public Attributes | |
float | Distance |
Sweep distance More... | |
![]() | |
ksIEntityQueryColliderFilter | EntityColliderFilter |
Collider filter for entity queries to determine which of the entity's colliders to run queries for. More... | |
bool | UseEntityPosition = false |
If true, the position of the entity will be used in place of an explicit origin or rotation. More... | |
bool | UseEntityRotation = false |
If true, the rotation of the entity will be used in place of an explicit origin or rotation. More... | |
![]() | |
ksIQueryFilter | Filter |
Query filter for filtering results. If null, all hits are touching. More... | |
ksIEntity | ExcludeEntity |
This entity is excluded from results. More... | |
ksQueryFlags | Flags = ksQueryFlags.DEFAULT |
Query flags for filtering results. More... | |
Properties | |
override ksQueryTypes | QueryType [get] |
Query type More... | |
ksVector3 | Direction [get, set] |
Sweep direction More... | |
ksVector3 | End [get, set] |
Sweep distance More... | |
![]() | |
override ksQueryTypes | QueryType [get] |
Query type More... | |
ksShape?? | Shape [get, set] |
Get/Set the ksShape More... | |
ksIEntity?? | Entity [get, set] |
Get/Set the ksIEntity More... | |
ksICollider?? | Collider [get, set] |
Get/Set the ksICollider More... | |
object | QueryObject [get, set] |
Get/Set the object which defines the geomeetry being queried. More... | |
override ksVector3 | Origin [get, set] |
Set/Get the query origin. More... | |
ksQuaternion | Rotation [get, set] |
Set/Get the query rotation. More... | |
override ksQueryObjectTypes | ObjectType [get] |
The object type used in the query. More... | |
![]() | |
abstract ksVector3 | Origin [get, set] |
The starting position of the physics query. More... | |
abstract ksQueryTypes | QueryType [get] |
Query type More... | |
virtual ksQueryObjectTypes | ObjectType [get] |
The object type used in the query. More... | |
Additional Inherited Members | |
![]() | |
ksOverlapParams (ksVector3 origin, ksQuaternion rotation, ksIQueryFilter filter, ksIEntity excludeEntity, ksQueryFlags flags, bool useEntityPosition=false, bool useEntityRotation=false) | |
Private common constructor for all query object types More... | |
![]() | |
object | m_queryObject = null |
ksQueryObjectTypes | m_queryObjectType = ksQueryObjectTypes.NONE |
ksVector3 | m_origin |
ksQuaternion | m_rotation = ksQuaternion.Identity |
KS.Reactor.ksSweepParams.ksSweepParams | ( | ) |
Default constructor
KS.Reactor.ksSweepParams.ksSweepParams | ( | ksShape | shape, |
ksVector3 | origin, | ||
ksQuaternion | rotation, | ||
ksVector3 | direction, | ||
float | distance, | ||
ksIQueryFilter | filter = null , |
||
ksIEntity | excludeEntity = null , |
||
ksQueryFlags | flags = ksQueryFlags.DEFAULT |
||
) |
Construct a shape sweep using an origin point, direction and distance.
shape | Sweep shape |
origin | Sweep origin |
rotation | Shape rotation |
direction | Sweep direction |
distance | Sweep distance |
filter | Query filter for filtering results. |
excludeEntity | Exclude this entity from results. |
flags | Query flags for filtering results. |
KS.Reactor.ksSweepParams.ksSweepParams | ( | ksShape | shape, |
ksVector3 | origin, | ||
ksVector3 | end, | ||
ksQuaternion | rotation, | ||
ksIQueryFilter | filter = null , |
||
ksIEntity | excludeEntity = null , |
||
ksQueryFlags | flags = ksQueryFlags.DEFAULT |
||
) |
Construct a shape sweep using an origin and end point.
shape | Sweep shape |
origin | Sweep origin |
end | Sweep end point |
rotation | Shape rotation |
filter | Query filter for filtering results. |
excludeEntity | Exclude this entity from results. |
flags | Query flags for filtering results. |
KS.Reactor.ksSweepParams.ksSweepParams | ( | ksIEntity | entity, |
ksVector3 | direction, | ||
float | distance, | ||
ksIQueryFilter | filter = null , |
||
ksIEntityQueryColliderFilter | colliderFilter = null , |
||
bool | excludeSelf = true , |
||
ksQueryFlags | flags = ksQueryFlags.DEFAULT |
||
) |
Construct an entity sweep from the entity position and sweeping over a direction and distance.
entity | Sweep entity |
direction | Sweep direction |
distance | Sweep distance |
filter | Query filter for filtering results. |
colliderFilter | Query collider filter for filtering which of the entity's colliders to query with. |
excludeSelf | Should entity be excluded from results? |
flags | Query flags for filtering results. |
KS.Reactor.ksSweepParams.ksSweepParams | ( | ksIEntity | entity, |
ksVector3 | end, | ||
ksIQueryFilter | filter = null , |
||
ksIEntityQueryColliderFilter | colliderFilter = null , |
||
bool | excludeSelf = true , |
||
ksQueryFlags | flags = ksQueryFlags.DEFAULT |
||
) |
Construct an entity sweep from the entity position and sweeping to an end point.
entity | Sweep entity |
end | Sweep end point |
filter | Query filter for filtering results. |
colliderFilter | Query collider filter for filtering which of the entity's colliders to query with. |
excludeSelf | Should entity be excluded from results? |
flags | Query flags for filtering results. |
KS.Reactor.ksSweepParams.ksSweepParams | ( | ksIEntity | entity, |
ksVector3 | origin, | ||
ksQuaternion | rotation, | ||
ksVector3 | direction, | ||
float | distance, | ||
ksIQueryFilter | filter = null , |
||
ksIEntityQueryColliderFilter | colliderFilter = null , |
||
bool | excludeSelf = true , |
||
ksQueryFlags | flags = ksQueryFlags.DEFAULT |
||
) |
Construct an entity sweep from a specified origin and rotation and sweeping over a direction and distance.
entity | Sweep entity |
origin | Sweep origin |
rotation | Sweep rotation |
direction | Sweep direction |
distance | Sweep distance |
filter | Query filter for filtering results. |
colliderFilter | Query collider filter for filtering which of the entity's colliders to query with. |
excludeSelf | Should entity be excluded from results? |
flags | Query flags for filtering results. |
KS.Reactor.ksSweepParams.ksSweepParams | ( | ksIEntity | entity, |
ksVector3 | origin, | ||
ksVector3 | end, | ||
ksQuaternion | rotation, | ||
ksIQueryFilter | filter = null , |
||
ksIEntityQueryColliderFilter | colliderFilter = null , |
||
bool | excludeSelf = true , |
||
ksQueryFlags | flags = ksQueryFlags.DEFAULT |
||
) |
Construct an entity sweep from a specified origin and rotation and sweeping to an end point.
entity | Sweep entity |
origin | Sweep origin |
end | Sweep end point |
rotation | Sweep rotation |
filter | Query filter for filtering results. |
colliderFilter | Query collider filter for filtering which of the entity's colliders to query with. |
excludeSelf | Should entity be excluded from results? |
flags | Query flags for filtering results. |
KS.Reactor.ksSweepParams.ksSweepParams | ( | ksICollider | collider, |
ksVector3 | direction, | ||
float | distance, | ||
ksIQueryFilter | filter = null , |
||
bool | excludeColliderEntity = true , |
||
ksQueryFlags | flags = ksQueryFlags.DEFAULT |
||
) |
Construct a collider sweep from the entity position and sweeping over a direction and distance.
collider | Sweep collider |
direction | Sweep direction |
distance | Sweep distance |
filter | Query filter for filtering results. |
excludeColliderEntity | Should collider 's entity be excluded from results? |
flags | Query flags for filtering results. |
KS.Reactor.ksSweepParams.ksSweepParams | ( | ksICollider | collider, |
ksVector3 | end, | ||
ksIQueryFilter | filter = null , |
||
bool | excludeColliderEntity = true , |
||
ksQueryFlags | flags = ksQueryFlags.DEFAULT |
||
) |
Construct a collider sweep from the entity position and sweeping to an end point.
collider | Sweep collider |
end | Sweep end point |
filter | Query filter for filtering results. |
excludeColliderEntity | Should collider 's entity be excluded from results? |
flags | Query flags for filtering results. |
KS.Reactor.ksSweepParams.ksSweepParams | ( | ksICollider | collider, |
ksVector3 | origin, | ||
ksQuaternion | rotation, | ||
ksVector3 | direction, | ||
float | distance, | ||
ksIQueryFilter | filter = null , |
||
bool | excludeColliderEntity = true , |
||
ksQueryFlags | flags = ksQueryFlags.DEFAULT |
||
) |
Construct a collider sweep from a specified origin and rotation and sweeping over a direction and distance.
collider | Sweep collider |
origin | Sweep origin |
rotation | Sweep rotation |
direction | Sweep direction |
distance | Sweep distance |
filter | Query filter for filtering results. |
excludeColliderEntity | Should collider 's entity be excluded from results? |
flags | Query flags for filtering results. |
KS.Reactor.ksSweepParams.ksSweepParams | ( | ksICollider | collider, |
ksVector3 | origin, | ||
ksVector3 | end, | ||
ksQuaternion | rotation, | ||
ksIQueryFilter | filter = null , |
||
bool | excludeColliderEntity = true , |
||
ksQueryFlags | flags = ksQueryFlags.DEFAULT |
||
) |
Construct a collider sweep from a specified origin and rotation and sweeping to an end point.
collider | Sweep collider |
origin | Sweep origin |
end | Sweep end point |
rotation | Sweep rotation |
filter | Query filter for filtering results. |
excludeColliderEntity | Should collider 's entity be excluded from results? |
flags | Query flags for filtering results. |
void KS.Reactor.ksSweepParams.CopyTo | ( | ksSweepParams | target | ) |
Copies the values from this object to the target .
target | Target to copy to. |
float KS.Reactor.ksSweepParams.Distance |
Sweep distance
|
getset |
Sweep direction
|
getset |
Sweep distance
The end-point of the sweep.
|
get |
Query type