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

Inherits TaleWorlds.Core.IFaceGen.

Public Member Functions

Monster GetMonster (string monsterID)
 
Monster GetMonsterWithSuffix (int race, string suffix)
 
Monster GetBaseMonsterFromRace (int race)
 
BodyProperties GetRandomBodyProperties (int race, bool isFemale, BodyProperties bodyPropertiesMin, BodyProperties bodyPropertiesMax, int hairCoverType, int seed, string hairTags, string beardTags, string tattooTags)
 
BodyProperties GetBodyPropertiesWithAge (ref BodyProperties bodyProperties, float age)
 
void GetParamsFromBody (ref FaceGenerationParams faceGenerationParams, BodyProperties bodyProperties, bool earsAreHidden, bool mouthIsHidden)
 
BodyMeshMaturityType GetMaturityTypeWithAge (float age)
 
int GetRaceCount ()
 
int GetRaceOrDefault (string raceId)
 
string GetBaseMonsterNameFromRace (int race)
 
string[] GetRaceNames ()
 
BodyProperties GetRandomBodyProperties (int race, bool isFemale, BodyProperties bodyPropertiesMin, BodyProperties bodyPropertiesMax, int hairCoverType, int seed, string hairTags, string beardTags, string tatooTags)
 
void GenerateParentBody (BodyProperties childBodyProperties, int race, ref BodyProperties motherBodyProperties, ref BodyProperties fatherBodyProperties)
 
void SetBody (ref BodyProperties bodyProperties, int build, int weight)
 
void SetHair (ref BodyProperties bodyProperties, int hair, int beard, int tattoo)
 
void SetPigmentation (ref BodyProperties bodyProperties, int skinColor, int hairColor, int eyeColor)
 
BodyProperties GetBodyPropertiesWithAge (ref BodyProperties bodyProperties, float age)
 
BodyMeshMaturityType GetMaturityTypeWithAge (float age)
 
int GetRaceCount ()
 
int GetRaceOrDefault (string raceId)
 
string GetBaseMonsterNameFromRace (int race)
 
string[] GetRaceNames ()
 
Monster GetMonster (string monsterID)
 
Monster GetMonsterWithSuffix (int race, string suffix)
 
Monster GetBaseMonsterFromRace (int race)
 

Static Public Member Functions

static void CreateInstance ()
 

Member Function Documentation

◆ CreateInstance()

static void TaleWorlds.MountAndBlade.FaceGen.CreateInstance ( )
static

◆ GetMonster()

Monster TaleWorlds.MountAndBlade.FaceGen.GetMonster ( string  monsterID)

◆ GetMonsterWithSuffix()

Monster TaleWorlds.MountAndBlade.FaceGen.GetMonsterWithSuffix ( int  race,
string  suffix 
)

◆ GetBaseMonsterFromRace()

Monster TaleWorlds.MountAndBlade.FaceGen.GetBaseMonsterFromRace ( int  race)

◆ GetRandomBodyProperties()

BodyProperties TaleWorlds.MountAndBlade.FaceGen.GetRandomBodyProperties ( int  race,
bool  isFemale,
BodyProperties  bodyPropertiesMin,
BodyProperties  bodyPropertiesMax,
int  hairCoverType,
int  seed,
string  hairTags,
string  beardTags,
string  tattooTags 
)

◆ GetBodyPropertiesWithAge()

BodyProperties TaleWorlds.MountAndBlade.FaceGen.GetBodyPropertiesWithAge ( ref BodyProperties  bodyProperties,
float  age 
)

◆ GetParamsFromBody()

void TaleWorlds.MountAndBlade.FaceGen.GetParamsFromBody ( ref FaceGenerationParams  faceGenerationParams,
BodyProperties  bodyProperties,
bool  earsAreHidden,
bool  mouthIsHidden 
)

◆ GetMaturityTypeWithAge()

BodyMeshMaturityType TaleWorlds.MountAndBlade.FaceGen.GetMaturityTypeWithAge ( float  age)

◆ GetRaceCount()

int TaleWorlds.MountAndBlade.FaceGen.GetRaceCount ( )

◆ GetRaceOrDefault()

int TaleWorlds.MountAndBlade.FaceGen.GetRaceOrDefault ( string  raceId)

◆ GetBaseMonsterNameFromRace()

string TaleWorlds.MountAndBlade.FaceGen.GetBaseMonsterNameFromRace ( int  race)

◆ GetRaceNames()

string[] TaleWorlds.MountAndBlade.FaceGen.GetRaceNames ( )