M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Library.Ray Struct Reference

Public Member Functions

 Ray (Vec3 origin, Vec3 direction, float maxDistance=float.MaxValue)
 
 Ray (Vec3 origin, Vec3 direction, bool useDirectionLenForMaxDistance)
 
void Reset (Vec3 origin, Vec3 direction, float maxDistance=float.MaxValue)
 

Properties

Vec3 Origin [get]
 
Vec3 Direction [get]
 
float MaxDistance [get]
 
Vec3 EndPoint [get]
 

Constructor & Destructor Documentation

◆ Ray() [1/2]

TaleWorlds.Library.Ray.Ray ( Vec3  origin,
Vec3  direction,
float  maxDistance = float::MaxValue 
)

◆ Ray() [2/2]

TaleWorlds.Library.Ray.Ray ( Vec3  origin,
Vec3  direction,
bool  useDirectionLenForMaxDistance 
)

Member Function Documentation

◆ Reset()

void TaleWorlds.Library.Ray.Reset ( Vec3  origin,
Vec3  direction,
float  maxDistance = float::MaxValue 
)

Property Documentation

◆ Origin

Vec3 TaleWorlds.Library.Ray.Origin
get

◆ Direction

Vec3 TaleWorlds.Library.Ray.Direction
get

◆ MaxDistance

float TaleWorlds.Library.Ray.MaxDistance
get

◆ EndPoint

Vec3 TaleWorlds.Library.Ray.EndPoint
get