Class FaceGen
- Namespace
- TaleWorlds.Core
- Assembly
- TaleWorlds.Core.dll
public static class FaceGen
- Inheritance
-
FaceGen
- Inherited Members
Fields
MonsterSuffixChild
public const string MonsterSuffixChild = "_child"
Field Value
MonsterSuffixSettlement
public const string MonsterSuffixSettlement = "_settlement"
Field Value
MonsterSuffixSettlementFast
public const string MonsterSuffixSettlementFast = "_settlement_fast"
Field Value
MonsterSuffixSettlementSlow
public const string MonsterSuffixSettlementSlow = "_settlement_slow"
Field Value
ShowDebugValues
public static bool ShowDebugValues
Field Value
UpdateDeformKeys
public static bool UpdateDeformKeys
Field Value
Methods
GenerateParentKey(BodyProperties, int, ref BodyProperties, ref BodyProperties)
public static void GenerateParentKey(BodyProperties childBodyProperties, int race, ref BodyProperties motherBodyProperties, ref BodyProperties fatherBodyProperties)
Parameters
childBodyPropertiesBodyPropertiesraceintmotherBodyPropertiesBodyPropertiesfatherBodyPropertiesBodyProperties
GetBaseMonsterFromRace(int)
public static Monster GetBaseMonsterFromRace(int race)
Parameters
raceint
Returns
GetBaseMonsterNameFromRace(int)
public static string GetBaseMonsterNameFromRace(int race)
Parameters
raceint
Returns
GetBodyPropertiesWithAge(ref BodyProperties, float)
public static BodyProperties GetBodyPropertiesWithAge(ref BodyProperties originalBodyProperties, float age)
Parameters
originalBodyPropertiesBodyPropertiesagefloat
Returns
GetMaturityTypeWithAge(float)
public static BodyMeshMaturityType GetMaturityTypeWithAge(float age)
Parameters
agefloat
Returns
GetMonster(string)
public static Monster GetMonster(string monsterID)
Parameters
monsterIDstring
Returns
GetMonsterWithSuffix(int, string)
public static Monster GetMonsterWithSuffix(int race, string suffix)
Parameters
Returns
GetRaceCount()
public static int GetRaceCount()
Returns
GetRaceNames()
public static string[] GetRaceNames()
Returns
- string[]
GetRaceOrDefault(string)
public static int GetRaceOrDefault(string raceId)
Parameters
raceIdstring
Returns
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
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
SetInstance(IFaceGen)
public static void SetInstance(IFaceGen faceGen)
Parameters
faceGenIFaceGen
SetPigmentation(ref BodyProperties, int, int, int)
public static void SetPigmentation(ref BodyProperties bodyProperties, int skinColor, int hairColor, int eyeColor)
Parameters
bodyPropertiesBodyPropertiesskinColorinthairColorinteyeColorint
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).