Table of Contents

Class AgentVisualHolder

Namespace
TaleWorlds.MountAndBlade
Assembly
TaleWorlds.MountAndBlade.dll
public class AgentVisualHolder : IAgentVisual
Inheritance
AgentVisualHolder
Implements
Inherited Members

Constructors

AgentVisualHolder(MatrixFrame, Equipment, string, BodyProperties)

public AgentVisualHolder(MatrixFrame frame, Equipment equipment, string name, BodyProperties bodyProperties)

Parameters

frame MatrixFrame
equipment Equipment
name string
bodyProperties BodyProperties

Methods

GetBodyProperties()

public BodyProperties GetBodyProperties()

Returns

BodyProperties

GetCharacterObjectID()

public string GetCharacterObjectID()

Returns

string

GetClothingColors(out uint, out uint)

public void GetClothingColors(out uint color1, out uint color2)

Parameters

color1 uint
color2 uint

GetCopyAgentVisualsData()

public AgentVisualsData GetCopyAgentVisualsData()

Returns

AgentVisualsData

GetEntity()

public GameEntity GetEntity()

Returns

GameEntity

GetEquipment()

public Equipment GetEquipment()

Returns

Equipment

GetFrame()

public MatrixFrame GetFrame()

Returns

MatrixFrame

GetIsFemale()

public bool GetIsFemale()

Returns

bool

GetVisuals()

public MBAgentVisuals GetVisuals()

Returns

MBAgentVisuals

Refresh(bool, AgentVisualsData, bool)

public void Refresh(bool needBatchedVersionForWeaponMeshes, AgentVisualsData data, bool forceUseFaceCache = false)

Parameters

needBatchedVersionForWeaponMeshes bool
data AgentVisualsData
forceUseFaceCache bool

RefreshWithNewEquipment(Equipment)

public void RefreshWithNewEquipment(Equipment equipment)

Parameters

equipment Equipment

SetAction(ActionIndexCache, float, bool)

public void SetAction(ActionIndexCache actionName, float startProgress = 0, bool forceFaceMorphRestart = true)

Parameters

actionName ActionIndexCache
startProgress float
forceFaceMorphRestart bool

SetBodyProperties(BodyProperties)

public void SetBodyProperties(BodyProperties bodyProperties)

Parameters

bodyProperties BodyProperties

SetCharacterObjectID(string)

public void SetCharacterObjectID(string id)

Parameters

id string

SetClothingColors(uint, uint)

public void SetClothingColors(uint color1, uint color2)

Parameters

color1 uint
color2 uint

SetFrame(ref MatrixFrame)

public void SetFrame(ref MatrixFrame frame)

Parameters

frame MatrixFrame

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