M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Public Types | |
enum | WorldPositionEnforcedCache { None , NavMeshVec3 , GroundVec3 } |
Public Member Functions | |
WorldPosition (Scene scene, Vec3 position) | |
WorldPosition (Scene scene, UIntPtr navMesh, Vec3 position, bool hasValidZ) | |
void | SetVec3 (UIntPtr navMesh, Vec3 position, bool hasValidZ) |
UIntPtr | GetNavMesh () |
UIntPtr | GetNearestNavMesh () |
float | GetNavMeshZ () |
float | GetNavMeshZMT () |
float | GetGroundZ () |
float | GetGroundZMT () |
Vec3 | GetNavMeshVec3 () |
Vec3 | GetNavMeshVec3MT () |
Vec3 | GetGroundVec3 () |
Vec3 | GetGroundVec3MT () |
void | SetVec2 (Vec2 value) |
float | DistanceSquaredWithLimit (in Vec3 targetPoint, float limitSquared) |
Public Attributes | |
Vec3 | Normal |
ZValidityState | State |
Static Public Attributes | |
static readonly WorldPosition | Invalid = new WorldPosition(UIntPtr.Zero, UIntPtr.Zero, Vec3.Invalid, false) |
Properties | |
Vec2 | AsVec2 [get] |
float | X [get] |
float | Y [get] |
bool | IsValid [get] |
TaleWorlds.Engine.WorldPosition.WorldPosition | ( | Scene | scene, |
Vec3 | position | ||
) |
TaleWorlds.Engine.WorldPosition.WorldPosition | ( | Scene | scene, |
UIntPtr | navMesh, | ||
Vec3 | position, | ||
bool | hasValidZ | ||
) |
void TaleWorlds.Engine.WorldPosition.SetVec3 | ( | UIntPtr | navMesh, |
Vec3 | position, | ||
bool | hasValidZ | ||
) |
UIntPtr TaleWorlds.Engine.WorldPosition.GetNavMesh | ( | ) |
UIntPtr TaleWorlds.Engine.WorldPosition.GetNearestNavMesh | ( | ) |
float TaleWorlds.Engine.WorldPosition.GetNavMeshZ | ( | ) |
float TaleWorlds.Engine.WorldPosition.GetNavMeshZMT | ( | ) |
float TaleWorlds.Engine.WorldPosition.GetGroundZ | ( | ) |
float TaleWorlds.Engine.WorldPosition.GetGroundZMT | ( | ) |
Vec3 TaleWorlds.Engine.WorldPosition.GetNavMeshVec3 | ( | ) |
Vec3 TaleWorlds.Engine.WorldPosition.GetNavMeshVec3MT | ( | ) |
Vec3 TaleWorlds.Engine.WorldPosition.GetGroundVec3 | ( | ) |
Vec3 TaleWorlds.Engine.WorldPosition.GetGroundVec3MT | ( | ) |
void TaleWorlds.Engine.WorldPosition.SetVec2 | ( | Vec2 | value | ) |
float TaleWorlds.Engine.WorldPosition.DistanceSquaredWithLimit | ( | in Vec3 | targetPoint, |
float | limitSquared | ||
) |
Vec3 TaleWorlds.Engine.WorldPosition.Normal |
ZValidityState TaleWorlds.Engine.WorldPosition.State |
|
static |
|
get |
|
get |
|
get |
|
get |