Base parameters needed to execute a raycast query More...
Public Member Functions | |
RaycastQueryParams (QueryParams queryParams, Vector3 origin, Vector3 direction, float length, int staticHitsCapacity=64) | |
Create a new RaycastQueryParams More... | |
Public Attributes | |
Vector3 | Direction |
Represents the direction of the raycast for the query. More... | |
float | Length |
Represents the maximum length of the raycast for the query. More... | |
Vector3 | Origin |
Represents the origin point of the raycast for the query. More... | |
QueryParams | QueryParams |
Represents the base parameters for the raycast query. More... | |
int | StaticHitsCapacity |
Represents the capacity for the cached PhysX and Box2D static hits. More... | |
Base parameters needed to execute a raycast query
RaycastQueryParams | ( | QueryParams | queryParams, |
Vector3 | origin, | ||
Vector3 | direction, | ||
float | length, | ||
int | staticHitsCapacity = 64 |
||
) |
Create a new RaycastQueryParams
queryParams | Parameters to be used |
origin | The raycast origin |
direction | The raycast direction |
length | The raycast max length |
staticHitsCapacity | Capacity for the cached PhysX and Box2D static hits. |
Vector3 Direction |
Represents the direction of the raycast for the query.
float Length |
Represents the maximum length of the raycast for the query.
Vector3 Origin |
Represents the origin point of the raycast for the query.
Represents the base parameters for the raycast query.
int StaticHitsCapacity |
Represents the capacity for the cached PhysX and Box2D static hits.