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
race
int
Returns
GetBaseMonsterNameFromRace(int)
public string GetBaseMonsterNameFromRace(int race)
Parameters
race
int
Returns
GetBodyPropertiesWithAge(ref BodyProperties, float)
public BodyProperties GetBodyPropertiesWithAge(ref BodyProperties bodyProperties, float age)
Parameters
bodyProperties
BodyPropertiesage
float
Returns
GetMaturityTypeWithAge(float)
public BodyMeshMaturityType GetMaturityTypeWithAge(float age)
Parameters
age
float
Returns
GetMonster(string)
public Monster GetMonster(string monsterID)
Parameters
monsterID
string
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
faceGenerationParams
FaceGenerationParamsbodyProperties
BodyPropertiesearsAreHidden
boolmouthIsHidden
bool
GetRaceCount()
public int GetRaceCount()
Returns
GetRaceNames()
public string[] GetRaceNames()
Returns
- string[]
GetRaceOrDefault(string)
public int GetRaceOrDefault(string raceId)
Parameters
raceId
string
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
race
intisFemale
boolbodyPropertiesMin
BodyPropertiesbodyPropertiesMax
BodyPropertieshairCoverType
intseed
inthairTags
stringbeardTags
stringtattooTags
string
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).