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

Public Types

enum  GenerationType
 

Static Public Member Functions

static int GetNumEditableDeformKeys (int race, bool initialGender, int age)
 
static void GetParamsFromKey (ref FaceGenerationParams faceGenerationParams, BodyProperties bodyProperties, bool earsAreHidden, bool mouthHidden)
 
static void GetParamsMax (int race, int curGender, int curAge, ref int hairNum, ref int beardNum, ref int faceTextureNum, ref int mouthTextureNum, ref int faceTattooNum, ref int soundNum, ref int eyebrowNum, ref float scale)
 
static void GetZeroProbabilities (int race, int curGender, float curAge, ref float tattooZeroProbability)
 
static void ProduceNumericKeyWithParams (FaceGenerationParams faceGenerationParams, bool earsAreHidden, bool mouthIsHidden, ref BodyProperties bodyProperties)
 
static void TransformFaceKeysToDefaultFace (ref FaceGenerationParams faceGenerationParams)
 
static void ProduceNumericKeyWithDefaultValues (ref BodyProperties initialBodyProperties, bool earsAreHidden, bool mouthIsHidden, int race, int gender, int age)
 
static BodyProperties GetRandomBodyProperties (int race, bool isFemale, BodyProperties bodyPropertiesMin, BodyProperties bodyPropertiesMax, int hairCoverType, int seed, string hairTags, string beardTags, string tatooTags)
 
static DeformKeyData GetDeformKeyData (int keyNo, int race, int gender, int age)
 
static int GetFaceGenInstancesLength (int race, int gender, int age)
 
static bool EnforceConstraints (ref FaceGenerationParams faceGenerationParams)
 
static float GetScaleFromKey (int race, int gender, BodyProperties bodyProperties)
 
static int GetHairColorCount (int race, int curGender, int age)
 
static List< UInt32 > GetHairColorGradientPoints (int race, int curGender, int age)
 
static int GetTatooColorCount (int race, int curGender, int age)
 
static List< uint > GetTatooColorGradientPoints (int race, int curGender, int age)
 
static int GetSkinColorCount (int race, int curGender, int age)
 
static BodyMeshMaturityType GetMaturityType (float age)
 
static string[] GetRaceIds ()
 
static List< UInt32 > GetSkinColorGradientPoints (int race, int curGender, int age)
 
static List< bool > GetVoiceTypeUsableForPlayerData (int race, int curGender, float age, int voiceTypeCount)
 
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 void GenerateParentKey (BodyProperties childBodyProperties, int race, ref BodyProperties motherBodyProperties, ref BodyProperties fatherBodyProperties)
 
static BodyProperties GetBodyPropertiesWithAge (ref BodyProperties bodyProperties, float age)
 

Member Enumeration Documentation

◆ GenerationType

Member Function Documentation

◆ GetNumEditableDeformKeys()

static int TaleWorlds.MountAndBlade.MBBodyProperties.GetNumEditableDeformKeys ( int  race,
bool  initialGender,
int  age 
)
static

◆ GetParamsFromKey()

static void TaleWorlds.MountAndBlade.MBBodyProperties.GetParamsFromKey ( ref FaceGenerationParams  faceGenerationParams,
BodyProperties  bodyProperties,
bool  earsAreHidden,
bool  mouthHidden 
)
static

◆ GetParamsMax()

static void TaleWorlds.MountAndBlade.MBBodyProperties.GetParamsMax ( int  race,
int  curGender,
int  curAge,
ref int  hairNum,
ref int  beardNum,
ref int  faceTextureNum,
ref int  mouthTextureNum,
ref int  faceTattooNum,
ref int  soundNum,
ref int  eyebrowNum,
ref float  scale 
)
static

◆ GetZeroProbabilities()

static void TaleWorlds.MountAndBlade.MBBodyProperties.GetZeroProbabilities ( int  race,
int  curGender,
float  curAge,
ref float  tattooZeroProbability 
)
static

◆ ProduceNumericKeyWithParams()

static void TaleWorlds.MountAndBlade.MBBodyProperties.ProduceNumericKeyWithParams ( FaceGenerationParams  faceGenerationParams,
bool  earsAreHidden,
bool  mouthIsHidden,
ref BodyProperties  bodyProperties 
)
static

◆ TransformFaceKeysToDefaultFace()

static void TaleWorlds.MountAndBlade.MBBodyProperties.TransformFaceKeysToDefaultFace ( ref FaceGenerationParams  faceGenerationParams)
static

◆ ProduceNumericKeyWithDefaultValues()

static void TaleWorlds.MountAndBlade.MBBodyProperties.ProduceNumericKeyWithDefaultValues ( ref BodyProperties  initialBodyProperties,
bool  earsAreHidden,
bool  mouthIsHidden,
int  race,
int  gender,
int  age 
)
static

◆ GetRandomBodyProperties()

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

◆ GetDeformKeyData()

static DeformKeyData TaleWorlds.MountAndBlade.MBBodyProperties.GetDeformKeyData ( int  keyNo,
int  race,
int  gender,
int  age 
)
static

◆ GetFaceGenInstancesLength()

static int TaleWorlds.MountAndBlade.MBBodyProperties.GetFaceGenInstancesLength ( int  race,
int  gender,
int  age 
)
static

◆ EnforceConstraints()

static bool TaleWorlds.MountAndBlade.MBBodyProperties.EnforceConstraints ( ref FaceGenerationParams  faceGenerationParams)
static

◆ GetScaleFromKey()

static float TaleWorlds.MountAndBlade.MBBodyProperties.GetScaleFromKey ( int  race,
int  gender,
BodyProperties  bodyProperties 
)
static

◆ GetHairColorCount()

static int TaleWorlds.MountAndBlade.MBBodyProperties.GetHairColorCount ( int  race,
int  curGender,
int  age 
)
static

◆ GetHairColorGradientPoints()

static List< UInt32 > TaleWorlds.MountAndBlade.MBBodyProperties.GetHairColorGradientPoints ( int  race,
int  curGender,
int  age 
)
static

◆ GetTatooColorCount()

static int TaleWorlds.MountAndBlade.MBBodyProperties.GetTatooColorCount ( int  race,
int  curGender,
int  age 
)
static

◆ GetTatooColorGradientPoints()

static List< uint > TaleWorlds.MountAndBlade.MBBodyProperties.GetTatooColorGradientPoints ( int  race,
int  curGender,
int  age 
)
static

◆ GetSkinColorCount()

static int TaleWorlds.MountAndBlade.MBBodyProperties.GetSkinColorCount ( int  race,
int  curGender,
int  age 
)
static

◆ GetMaturityType()

static BodyMeshMaturityType TaleWorlds.MountAndBlade.MBBodyProperties.GetMaturityType ( float  age)
static

◆ GetRaceIds()

static string[] TaleWorlds.MountAndBlade.MBBodyProperties.GetRaceIds ( )
static

◆ GetSkinColorGradientPoints()

static List< UInt32 > TaleWorlds.MountAndBlade.MBBodyProperties.GetSkinColorGradientPoints ( int  race,
int  curGender,
int  age 
)
static

◆ GetVoiceTypeUsableForPlayerData()

static List< bool > TaleWorlds.MountAndBlade.MBBodyProperties.GetVoiceTypeUsableForPlayerData ( int  race,
int  curGender,
float  age,
int  voiceTypeCount 
)
static

◆ SetHair()

static void TaleWorlds.MountAndBlade.MBBodyProperties.SetHair ( ref BodyProperties  bodyProperties,
int  hair,
int  beard,
int  tattoo 
)
static

◆ SetBody()

static void TaleWorlds.MountAndBlade.MBBodyProperties.SetBody ( ref BodyProperties  bodyProperties,
int  build,
int  weight 
)
static

◆ SetPigmentation()

static void TaleWorlds.MountAndBlade.MBBodyProperties.SetPigmentation ( ref BodyProperties  bodyProperties,
int  skinColor,
int  hairColor,
int  eyeColor 
)
static

◆ GenerateParentKey()

static void TaleWorlds.MountAndBlade.MBBodyProperties.GenerateParentKey ( BodyProperties  childBodyProperties,
int  race,
ref BodyProperties  motherBodyProperties,
ref BodyProperties  fatherBodyProperties 
)
static

◆ GetBodyPropertiesWithAge()

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