Class MBBodyProperties
- Namespace
- TaleWorlds.MountAndBlade
- Assembly
- TaleWorlds.MountAndBlade.dll
public static class MBBodyProperties
- Inheritance
-
MBBodyProperties
- Inherited Members
Methods
EnforceConstraints(ref FaceGenerationParams)
public static bool EnforceConstraints(ref FaceGenerationParams faceGenerationParams)
Parameters
faceGenerationParamsFaceGenerationParams
Returns
GenerateParentKey(BodyProperties, int, ref BodyProperties, ref BodyProperties)
public static void GenerateParentKey(BodyProperties childBodyProperties, int race, ref BodyProperties motherBodyProperties, ref BodyProperties fatherBodyProperties)
Parameters
childBodyPropertiesBodyPropertiesraceintmotherBodyPropertiesBodyPropertiesfatherBodyPropertiesBodyProperties
GetBodyPropertiesWithAge(ref BodyProperties, float)
public static BodyProperties GetBodyPropertiesWithAge(ref BodyProperties bodyProperties, float age)
Parameters
bodyPropertiesBodyPropertiesagefloat
Returns
GetDeformKeyData(int, int, int, int)
public static DeformKeyData GetDeformKeyData(int keyNo, int race, int gender, int age)
Parameters
Returns
GetFaceGenInstancesLength(int, int, int)
public static int GetFaceGenInstancesLength(int race, int gender, int age)
Parameters
Returns
GetHairColorCount(int, int, int)
public static int GetHairColorCount(int race, int curGender, int age)
Parameters
Returns
GetHairColorGradientPoints(int, int, int)
public static List<uint> GetHairColorGradientPoints(int race, int curGender, int age)
Parameters
Returns
GetMaturityType(float)
public static BodyMeshMaturityType GetMaturityType(float age)
Parameters
agefloat
Returns
GetNumEditableDeformKeys(int, bool, int)
public static int GetNumEditableDeformKeys(int race, bool initialGender, int age)
Parameters
Returns
GetParamsFromKey(ref FaceGenerationParams, BodyProperties, bool, bool)
public static void GetParamsFromKey(ref FaceGenerationParams faceGenerationParams, BodyProperties bodyProperties, bool earsAreHidden, bool mouthHidden)
Parameters
faceGenerationParamsFaceGenerationParamsbodyPropertiesBodyPropertiesearsAreHiddenboolmouthHiddenbool
GetParamsMax(int, int, int, ref int, ref int, ref int, ref int, ref int, ref int, ref int, ref float)
public 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)
Parameters
raceintcurGenderintcurAgeinthairNumintbeardNumintfaceTextureNumintmouthTextureNumintfaceTattooNumintsoundNuminteyebrowNumintscalefloat
GetRaceIds()
public static string[] GetRaceIds()
Returns
- string[]
GetRandomBodyProperties(int, bool, BodyProperties, BodyProperties, int, int, string, string, string)
public static BodyProperties GetRandomBodyProperties(int race, bool isFemale, BodyProperties bodyPropertiesMin, BodyProperties bodyPropertiesMax, int hairCoverType, int seed, string hairTags, string beardTags, string tatooTags)
Parameters
raceintisFemaleboolbodyPropertiesMinBodyPropertiesbodyPropertiesMaxBodyPropertieshairCoverTypeintseedinthairTagsstringbeardTagsstringtatooTagsstring
Returns
GetScaleFromKey(int, int, BodyProperties)
public static float GetScaleFromKey(int race, int gender, BodyProperties bodyProperties)
Parameters
raceintgenderintbodyPropertiesBodyProperties
Returns
GetSkinColorCount(int, int, int)
public static int GetSkinColorCount(int race, int curGender, int age)
Parameters
Returns
GetSkinColorGradientPoints(int, int, int)
public static List<uint> GetSkinColorGradientPoints(int race, int curGender, int age)
Parameters
Returns
GetTatooColorCount(int, int, int)
public static int GetTatooColorCount(int race, int curGender, int age)
Parameters
Returns
GetTatooColorGradientPoints(int, int, int)
public static List<uint> GetTatooColorGradientPoints(int race, int curGender, int age)
Parameters
Returns
GetVoiceTypeUsableForPlayerData(int, int, float, int)
public static List<bool> GetVoiceTypeUsableForPlayerData(int race, int curGender, float age, int voiceTypeCount)
Parameters
Returns
GetZeroProbabilities(int, int, float, ref float)
public static void GetZeroProbabilities(int race, int curGender, float curAge, ref float tattooZeroProbability)
Parameters
ProduceNumericKeyWithDefaultValues(ref BodyProperties, bool, bool, int, int, int)
public static void ProduceNumericKeyWithDefaultValues(ref BodyProperties initialBodyProperties, bool earsAreHidden, bool mouthIsHidden, int race, int gender, int age)
Parameters
initialBodyPropertiesBodyPropertiesearsAreHiddenboolmouthIsHiddenboolraceintgenderintageint
ProduceNumericKeyWithParams(FaceGenerationParams, bool, bool, ref BodyProperties)
public static void ProduceNumericKeyWithParams(FaceGenerationParams faceGenerationParams, bool earsAreHidden, bool mouthIsHidden, ref BodyProperties bodyProperties)
Parameters
faceGenerationParamsFaceGenerationParamsearsAreHiddenboolmouthIsHiddenboolbodyPropertiesBodyProperties
SetBody(ref BodyProperties, int, int)
public static void SetBody(ref BodyProperties bodyProperties, int build, int weight)
Parameters
bodyPropertiesBodyPropertiesbuildintweightint
SetHair(ref BodyProperties, int, int, int)
public static void SetHair(ref BodyProperties bodyProperties, int hair, int beard, int tattoo)
Parameters
bodyPropertiesBodyPropertieshairintbeardinttattooint
SetPigmentation(ref BodyProperties, int, int, int)
public static void SetPigmentation(ref BodyProperties bodyProperties, int skinColor, int hairColor, int eyeColor)
Parameters
bodyPropertiesBodyPropertiesskinColorinthairColorinteyeColorint
TransformFaceKeysToDefaultFace(ref FaceGenerationParams)
public static void TransformFaceKeysToDefaultFace(ref FaceGenerationParams faceGenerationParams)
Parameters
faceGenerationParamsFaceGenerationParams
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).