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

Static Public Member Functions

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

Static Public Attributes

const string MonsterSuffixSettlement = "_settlement"
 
const string MonsterSuffixSettlementSlow = "_settlement_slow"
 
const string MonsterSuffixSettlementFast = "_settlement_fast"
 
const string MonsterSuffixChild = "_child"
 
static bool ShowDebugValues
 
static bool UpdateDeformKeys
 

Member Function Documentation

◆ SetInstance()

static void TaleWorlds.Core.FaceGen.SetInstance ( IFaceGen  faceGen)
static

◆ GetRandomBodyProperties()

static BodyProperties TaleWorlds.Core.FaceGen.GetRandomBodyProperties ( int  race,
bool  isFemale,
BodyProperties  bodyPropertiesMin,
BodyProperties  bodyPropertiesMax,
int  hairCoverType,
int  seed,
string  hairTags,
string  beardTags,
string  tatooTags 
)
static

◆ GetRaceCount()

static int TaleWorlds.Core.FaceGen.GetRaceCount ( )
static

◆ GetRaceOrDefault()

static int TaleWorlds.Core.FaceGen.GetRaceOrDefault ( string  raceId)
static

◆ GetBaseMonsterNameFromRace()

static string TaleWorlds.Core.FaceGen.GetBaseMonsterNameFromRace ( int  race)
static

◆ GetRaceNames()

static string[] TaleWorlds.Core.FaceGen.GetRaceNames ( )
static

◆ GetMonster()

static Monster TaleWorlds.Core.FaceGen.GetMonster ( string  monsterID)
static

◆ GetMonsterWithSuffix()

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

◆ GetBaseMonsterFromRace()

static Monster TaleWorlds.Core.FaceGen.GetBaseMonsterFromRace ( int  race)
static

◆ GenerateParentKey()

static void TaleWorlds.Core.FaceGen.GenerateParentKey ( BodyProperties  childBodyProperties,
int  race,
ref BodyProperties  motherBodyProperties,
ref BodyProperties  fatherBodyProperties 
)
static

◆ SetHair()

static void TaleWorlds.Core.FaceGen.SetHair ( ref BodyProperties  bodyProperties,
int  hair,
int  beard,
int  tattoo 
)
static

◆ SetBody()

static void TaleWorlds.Core.FaceGen.SetBody ( ref BodyProperties  bodyProperties,
int  build,
int  weight 
)
static

◆ SetPigmentation()

static void TaleWorlds.Core.FaceGen.SetPigmentation ( ref BodyProperties  bodyProperties,
int  skinColor,
int  hairColor,
int  eyeColor 
)
static

◆ GetBodyPropertiesWithAge()

static BodyProperties TaleWorlds.Core.FaceGen.GetBodyPropertiesWithAge ( ref BodyProperties  originalBodyProperties,
float  age 
)
static

◆ GetMaturityTypeWithAge()

static BodyMeshMaturityType TaleWorlds.Core.FaceGen.GetMaturityTypeWithAge ( float  age)
static

Member Data Documentation

◆ MonsterSuffixSettlement

const string TaleWorlds.Core.FaceGen.MonsterSuffixSettlement = "_settlement"
static

◆ MonsterSuffixSettlementSlow

const string TaleWorlds.Core.FaceGen.MonsterSuffixSettlementSlow = "_settlement_slow"
static

◆ MonsterSuffixSettlementFast

const string TaleWorlds.Core.FaceGen.MonsterSuffixSettlementFast = "_settlement_fast"
static

◆ MonsterSuffixChild

const string TaleWorlds.Core.FaceGen.MonsterSuffixChild = "_child"
static

◆ ShowDebugValues

bool TaleWorlds.Core.FaceGen.ShowDebugValues
static

◆ UpdateDeformKeys

bool TaleWorlds.Core.FaceGen.UpdateDeformKeys
static