Class FaceGen
- Namespace
- TaleWorlds.MountAndBlade
- Assembly
- TaleWorlds.MountAndBlade.dll
public class FaceGen : IFaceGen
- Inheritance
-
FaceGen
- Implements
- Inherited Members
Methods
CreateInstance()
public static void CreateInstance()
GetBaseMonsterFromRace(int)
public Monster GetBaseMonsterFromRace(int race)
Parameters
raceint
Returns
GetBaseMonsterNameFromRace(int)
public string GetBaseMonsterNameFromRace(int race)
Parameters
raceint
Returns
GetBodyPropertiesWithAge(ref BodyProperties, float)
public BodyProperties GetBodyPropertiesWithAge(ref BodyProperties bodyProperties, float age)
Parameters
bodyPropertiesBodyPropertiesagefloat
Returns
GetMaturityTypeWithAge(float)
public BodyMeshMaturityType GetMaturityTypeWithAge(float age)
Parameters
agefloat
Returns
GetMonster(string)
public Monster GetMonster(string monsterID)
Parameters
monsterIDstring
Returns
GetMonsterWithSuffix(int, string)
public Monster GetMonsterWithSuffix(int race, string suffix)
Parameters
Returns
GetParamsFromBody(ref FaceGenerationParams, BodyProperties, bool, bool)
public void GetParamsFromBody(ref FaceGenerationParams faceGenerationParams, BodyProperties bodyProperties, bool earsAreHidden, bool mouthIsHidden)
Parameters
faceGenerationParamsFaceGenerationParamsbodyPropertiesBodyPropertiesearsAreHiddenboolmouthIsHiddenbool
GetRaceCount()
public int GetRaceCount()
Returns
GetRaceNames()
public string[] GetRaceNames()
Returns
- string[]
GetRaceOrDefault(string)
public int GetRaceOrDefault(string raceId)
Parameters
raceIdstring
Returns
GetRandomBodyProperties(int, bool, BodyProperties, BodyProperties, int, int, string, string, string)
public BodyProperties GetRandomBodyProperties(int race, bool isFemale, BodyProperties bodyPropertiesMin, BodyProperties bodyPropertiesMax, int hairCoverType, int seed, string hairTags, string beardTags, string tattooTags)
Parameters
raceintisFemaleboolbodyPropertiesMinBodyPropertiesbodyPropertiesMaxBodyPropertieshairCoverTypeintseedinthairTagsstringbeardTagsstringtattooTagsstring
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).