M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.SpawnPathData Struct Reference

Public Member Functions

 SpawnPathData (Path path=null, SpawnPathOrientation orientation=SpawnPathOrientation.PathCenter, float centerRatio=0f, bool isInverted=false)
 
SpawnPathData Invert ()
 
MatrixFrame GetSpawnFrame (float offset=0f)
 
void GetOrientedSpawnPathPosition (out Vec2 spawnPathPosition, out Vec2 spawnPathDirection, float pathOffset=0f)
 

Public Attributes

readonly Path Path
 
readonly bool IsInverted
 
readonly float CenterRatio
 
readonly SpawnPathOrientation Orientation
 

Static Public Attributes

static readonly SpawnPathData Invalid = new SpawnPathData(null)
 

Properties

bool IsValid [get]
 

Constructor & Destructor Documentation

◆ SpawnPathData()

TaleWorlds.MountAndBlade.SpawnPathData.SpawnPathData ( Path  path = null,
SpawnPathOrientation  orientation = SpawnPathOrientation.PathCenter,
float  centerRatio = 0f,
bool  isInverted = false 
)

Member Function Documentation

◆ Invert()

SpawnPathData TaleWorlds.MountAndBlade.SpawnPathData.Invert ( )

◆ GetSpawnFrame()

MatrixFrame TaleWorlds.MountAndBlade.SpawnPathData.GetSpawnFrame ( float  offset = 0f)

◆ GetOrientedSpawnPathPosition()

void TaleWorlds.MountAndBlade.SpawnPathData.GetOrientedSpawnPathPosition ( out Vec2  spawnPathPosition,
out Vec2  spawnPathDirection,
float  pathOffset = 0f 
)

Member Data Documentation

◆ Invalid

readonly SpawnPathData TaleWorlds.MountAndBlade.SpawnPathData.Invalid = new SpawnPathData(null)
static

◆ Path

readonly Path TaleWorlds.MountAndBlade.SpawnPathData.Path

◆ IsInverted

readonly bool TaleWorlds.MountAndBlade.SpawnPathData.IsInverted

◆ CenterRatio

readonly float TaleWorlds.MountAndBlade.SpawnPathData.CenterRatio

◆ Orientation

readonly SpawnPathOrientation TaleWorlds.MountAndBlade.SpawnPathData.Orientation

Property Documentation

◆ IsValid

bool TaleWorlds.MountAndBlade.SpawnPathData.IsValid
get