M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.GauntletUI.BodyGenerator.BodyGeneratorView Class Reference

Inherits TaleWorlds.MountAndBlade.IFaceGeneratorHandler.

Public Member Functions

 BodyGeneratorView (ControlCharacterCreationStage affirmativeAction, TextObject affirmativeActionText, ControlCharacterCreationStage negativeAction, TextObject negativeActionText, BasicCharacterObject character, bool openedFromMultiplayer, IFaceGeneratorCustomFilter filter, Equipment dressedEquipment=null, ControlCharacterCreationStageReturnInt getCurrentStageIndexAction=null, ControlCharacterCreationStageReturnInt getTotalStageCountAction=null, ControlCharacterCreationStageReturnInt getFurthestIndexAction=null, ControlCharacterCreationStageWithInt goToIndexAction=null)
 
void ResetFaceToDefault ()
 
bool ReadyToRender ()
 
void OnTick (float dt)
 
void OnFinalize ()
 
void ChangeToBodyCamera ()
 
void ChangeToEyeCamera ()
 
void ChangeToNoseCamera ()
 
void ChangeToMouthCamera ()
 
void ChangeToFaceCamera ()
 
void ChangeToHairCamera ()
 
void RefreshCharacterEntity ()
 
void MakeVoice (int voiceIndex, float pitch)
 
void SetFacialAnimation (string faceAnimation, bool loop)
 
void Done ()
 
void Cancel ()
 
void UndressCharacterEntity ()
 
void DressCharacterEntity ()
 
void DefaultFace ()
 

Static Public Member Functions

static string FaceGenShowDebug (List< string > strings)
 
static string FaceGenUpdateDeformKeys (List< string > strings)
 
static MatrixFrame InitCamera (Camera camera, Vec3 cameraPosition)
 

Public Attributes

bool IsDressed
 
SkeletonType SkeletonType
 

Properties

FaceGenVM DataSource [get]
 
GauntletLayer GauntletLayer [get]
 
SceneLayer SceneLayer [get]
 
TaleWorlds.MountAndBlade.BodyGenerator BodyGen [get]
 

Constructor & Destructor Documentation

◆ BodyGeneratorView()

TaleWorlds.MountAndBlade.GauntletUI.BodyGenerator.BodyGeneratorView.BodyGeneratorView ( ControlCharacterCreationStage  affirmativeAction,
TextObject  affirmativeActionText,
ControlCharacterCreationStage  negativeAction,
TextObject  negativeActionText,
BasicCharacterObject  character,
bool  openedFromMultiplayer,
IFaceGeneratorCustomFilter  filter,
Equipment  dressedEquipment = null,
ControlCharacterCreationStageReturnInt  getCurrentStageIndexAction = null,
ControlCharacterCreationStageReturnInt  getTotalStageCountAction = null,
ControlCharacterCreationStageReturnInt  getFurthestIndexAction = null,
ControlCharacterCreationStageWithInt  goToIndexAction = null 
)

Member Function Documentation

◆ ResetFaceToDefault()

void TaleWorlds.MountAndBlade.GauntletUI.BodyGenerator.BodyGeneratorView.ResetFaceToDefault ( )

◆ FaceGenShowDebug()

static string TaleWorlds.MountAndBlade.GauntletUI.BodyGenerator.BodyGeneratorView.FaceGenShowDebug ( List< string >  strings)
static

◆ FaceGenUpdateDeformKeys()

static string TaleWorlds.MountAndBlade.GauntletUI.BodyGenerator.BodyGeneratorView.FaceGenUpdateDeformKeys ( List< string >  strings)
static

◆ ReadyToRender()

bool TaleWorlds.MountAndBlade.GauntletUI.BodyGenerator.BodyGeneratorView.ReadyToRender ( )

◆ OnTick()

void TaleWorlds.MountAndBlade.GauntletUI.BodyGenerator.BodyGeneratorView.OnTick ( float  dt)

◆ OnFinalize()

void TaleWorlds.MountAndBlade.GauntletUI.BodyGenerator.BodyGeneratorView.OnFinalize ( )

◆ InitCamera()

static MatrixFrame TaleWorlds.MountAndBlade.GauntletUI.BodyGenerator.BodyGeneratorView.InitCamera ( Camera  camera,
Vec3  cameraPosition 
)
static

Member Data Documentation

◆ IsDressed

bool TaleWorlds.MountAndBlade.GauntletUI.BodyGenerator.BodyGeneratorView.IsDressed

◆ SkeletonType

SkeletonType TaleWorlds.MountAndBlade.GauntletUI.BodyGenerator.BodyGeneratorView.SkeletonType

Property Documentation

◆ DataSource

FaceGenVM TaleWorlds.MountAndBlade.GauntletUI.BodyGenerator.BodyGeneratorView.DataSource
get

◆ GauntletLayer

GauntletLayer TaleWorlds.MountAndBlade.GauntletUI.BodyGenerator.BodyGeneratorView.GauntletLayer
get

◆ SceneLayer

SceneLayer TaleWorlds.MountAndBlade.GauntletUI.BodyGenerator.BodyGeneratorView.SceneLayer
get

◆ BodyGen

TaleWorlds.MountAndBlade.BodyGenerator TaleWorlds.MountAndBlade.GauntletUI.BodyGenerator.BodyGeneratorView.BodyGen
get