Classes | |
struct | Ray |
Static Public Member Functions | |
static bool | Raycast (Ray ray) |
Casts a ray hitting all entities. Returns true if an entity is hit, otherwise false. More... | |
static bool | Raycast (Vector3 origin, Vector3 direction, float maxDistance) |
Casts a ray starting from origin going along direction up until the maxDistance is reached, meanwhile hitting all entities. Returns true if an entity is hit, otherwise false. More... | |
static bool | Raycast (Ray ray, EntityRaycastFlags entityFlags, params IPhysicalEntity[] skipList) |
Casts a ray hitting all entities specified with the entityFlags. Returns true if an entity is hit, otherwise false. More... | |
static bool | Raycast (Vector3 origin, Vector3 direction, float maxDistance, EntityRaycastFlags entityFlags, params IPhysicalEntity[] skipList) |
Casts a ray starting from origin going along direction up until the maxDistance is reached, meanwhile hitting all entities specified by entityFlags. Returns true if an entity is hit, otherwise false. More... | |
static bool | Raycast (Ray ray, out RaycastHit raycastHit) |
Casts a ray hitting all entities. Returns true if an entity is hit, otherwise false. If a hit is registered details about the hit are returned in raycastHit. More... | |
static bool | Raycast (Vec3 origin, Vec3 direction, float maxDistance, out RaycastHit raycastHit) |
Casts a ray starting from origin going along direction up until the maxDistance is reached, meanwhile hitting all entities. Returns true if an entity is hit, otherwise false. If a hit is registered details about the hit are returned in raycastHit. More... | |
static bool | Raycast (Ray ray, EntityRaycastFlags entityFlags, out RaycastHit raycastHit, params PhysicsEntity[] skipList) |
Casts a ray hitting all entities specified with the entityFlags. Returns true if an entity is hit, otherwise false. If a hit is registered details about the hit are returned in raycastHit. More... | |
static bool | Raycast (Vector3 origin, Vector3 direction, float maxDistance, EntityRaycastFlags entityFlags, out RaycastHit raycastHit, params PhysicsEntity[] skipList) |
Casts a ray starting from origin going along direction up until the maxDistance is reached, meanwhile hitting all entities specified by entityFlags. Returns true if an entity is hit, otherwise false. If a hit is registered details about the hit are returned in raycastHit. More... | |
static PhysicsEntity [] | GetSkipListForEntity (Entity entity) |
Generate a skiplist for the specified entity including all of it's child-entities. More... | |
|
inline static |
Generate a skiplist for the specified entity including all of it's child-entities.
entity |
|
inline static |
Casts a ray hitting all entities. Returns true if an entity is hit, otherwise false.
ray |
Casts a ray starting from origin going along direction up until the maxDistance is reached, meanwhile hitting all entities. Returns true if an entity is hit, otherwise false.
origin | |
direction | |
maxDistance |
|
inline static |
Casts a ray hitting all entities specified with the entityFlags. Returns true if an entity is hit, otherwise false.
ray | |
entityFlags | |
skipList |
|
inline static |
Casts a ray starting from origin going along direction up until the maxDistance is reached, meanwhile hitting all entities specified by entityFlags. Returns true if an entity is hit, otherwise false.
origin | |
direction | |
maxDistance | |
entityFlags | |
skipList |
|
inline static |
Casts a ray hitting all entities. Returns true if an entity is hit, otherwise false. If a hit is registered details about the hit are returned in raycastHit.
ray | |
raycastHit |
|
inline static |
Casts a ray starting from origin going along direction up until the maxDistance is reached, meanwhile hitting all entities. Returns true if an entity is hit, otherwise false. If a hit is registered details about the hit are returned in raycastHit.
origin | |
direction | |
maxDistance | |
raycastHit |
|
inline static |
Casts a ray hitting all entities specified with the entityFlags. Returns true if an entity is hit, otherwise false. If a hit is registered details about the hit are returned in raycastHit.
ray | |
entityFlags | |
raycastHit | |
skipList |
|
inline static |
Casts a ray starting from origin going along direction up until the maxDistance is reached, meanwhile hitting all entities specified by entityFlags. Returns true if an entity is hit, otherwise false. If a hit is registered details about the hit are returned in raycastHit.
origin | |
direction | |
maxDistance | |
entityFlags | |
raycastHit | |
skipList |