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
childBodyProperties
BodyPropertiesrace
intmotherBodyProperties
BodyPropertiesfatherBodyProperties
BodyProperties
GetBaseMonsterFromRace(int)
public static Monster GetBaseMonsterFromRace(int race)
Parameters
race
int
Returns
GetBaseMonsterNameFromRace(int)
public static string GetBaseMonsterNameFromRace(int race)
Parameters
race
int
Returns
GetBodyPropertiesWithAge(ref BodyProperties, float)
public static BodyProperties GetBodyPropertiesWithAge(ref BodyProperties originalBodyProperties, float age)
Parameters
originalBodyProperties
BodyPropertiesage
float
Returns
GetMaturityTypeWithAge(float)
public static BodyMeshMaturityType GetMaturityTypeWithAge(float age)
Parameters
age
float
Returns
GetMonster(string)
public static Monster GetMonster(string monsterID)
Parameters
monsterID
string
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
raceId
string
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
race
intisFemale
boolbodyPropertiesMin
BodyPropertiesbodyPropertiesMax
BodyPropertieshairCoverType
intseed
inthairTags
stringbeardTags
stringtatooTags
string
Returns
SetBody(ref BodyProperties, int, int)
public static void SetBody(ref BodyProperties bodyProperties, int build, int weight)
Parameters
bodyProperties
BodyPropertiesbuild
intweight
int
SetHair(ref BodyProperties, int, int, int)
public static void SetHair(ref BodyProperties bodyProperties, int hair, int beard, int tattoo)
Parameters
bodyProperties
BodyPropertieshair
intbeard
inttattoo
int
SetInstance(IFaceGen)
public static void SetInstance(IFaceGen faceGen)
Parameters
faceGen
IFaceGen
SetPigmentation(ref BodyProperties, int, int, int)
public static void SetPigmentation(ref BodyProperties bodyProperties, int skinColor, int hairColor, int eyeColor)
Parameters
bodyProperties
BodyPropertiesskinColor
inthairColor
inteyeColor
int
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).