Table of Contents

Struct SpawnPathData

Namespace
TaleWorlds.MountAndBlade
Assembly
TaleWorlds.MountAndBlade.dll
public struct SpawnPathData
Inherited Members
Extension Methods

Constructors

SpawnPathData(Path, SpawnPathOrientation, float, bool)

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

Parameters

path Path
orientation SpawnPathOrientation
centerRatio float
isInverted bool

Fields

CenterRatio

public readonly float CenterRatio

Field Value

float

Invalid

public static readonly SpawnPathData Invalid

Field Value

SpawnPathData

IsInverted

public readonly bool IsInverted

Field Value

bool

Orientation

public readonly SpawnPathOrientation Orientation

Field Value

SpawnPathOrientation

Path

public readonly Path Path

Field Value

Path

Properties

IsValid

public bool IsValid { get; }

Property Value

bool

Methods

GetOrientedSpawnPathPosition(out Vec2, out Vec2, float)

public void GetOrientedSpawnPathPosition(out Vec2 spawnPathPosition, out Vec2 spawnPathDirection, float pathOffset = 0)

Parameters

spawnPathPosition Vec2
spawnPathDirection Vec2
pathOffset float

GetSpawnFrame(float)

public MatrixFrame GetSpawnFrame(float offset = 0)

Parameters

offset float

Returns

MatrixFrame

Invert()

public SpawnPathData Invert()

Returns

SpawnPathData

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).