Interface IFaceGen
- Namespace
- TaleWorlds.Core
- Assembly
- TaleWorlds.Core.dll
public interface IFaceGen
Methods
GenerateParentBody(BodyProperties, int, ref BodyProperties, ref BodyProperties)
void GenerateParentBody(BodyProperties childBodyProperties, int race, ref BodyProperties motherBodyProperties, ref BodyProperties fatherBodyProperties)
Parameters
childBodyProperties
BodyPropertiesrace
intmotherBodyProperties
BodyPropertiesfatherBodyProperties
BodyProperties
GetBaseMonsterFromRace(int)
Monster GetBaseMonsterFromRace(int race)
Parameters
race
int
Returns
GetBaseMonsterNameFromRace(int)
string GetBaseMonsterNameFromRace(int race)
Parameters
race
int
Returns
GetBodyPropertiesWithAge(ref BodyProperties, float)
BodyProperties GetBodyPropertiesWithAge(ref BodyProperties bodyProperties, float age)
Parameters
bodyProperties
BodyPropertiesage
float
Returns
GetMaturityTypeWithAge(float)
BodyMeshMaturityType GetMaturityTypeWithAge(float age)
Parameters
age
float
Returns
GetMonster(string)
Monster GetMonster(string monsterID)
Parameters
monsterID
string
Returns
GetMonsterWithSuffix(int, string)
Monster GetMonsterWithSuffix(int race, string suffix)
Parameters
Returns
GetRaceCount()
int GetRaceCount()
Returns
GetRaceNames()
string[] GetRaceNames()
Returns
- string[]
GetRaceOrDefault(string)
int GetRaceOrDefault(string raceId)
Parameters
raceId
string
Returns
GetRandomBodyProperties(int, bool, BodyProperties, BodyProperties, int, int, string, string, string)
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)
void SetBody(ref BodyProperties bodyProperties, int build, int weight)
Parameters
bodyProperties
BodyPropertiesbuild
intweight
int
SetHair(ref BodyProperties, int, int, int)
void SetHair(ref BodyProperties bodyProperties, int hair, int beard, int tattoo)
Parameters
bodyProperties
BodyPropertieshair
intbeard
inttattoo
int
SetPigmentation(ref BodyProperties, int, int, int)
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).