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
childBodyPropertiesBodyPropertiesraceintmotherBodyPropertiesBodyPropertiesfatherBodyPropertiesBodyProperties
GetBaseMonsterFromRace(int)
Monster GetBaseMonsterFromRace(int race)
Parameters
raceint
Returns
GetBaseMonsterNameFromRace(int)
string GetBaseMonsterNameFromRace(int race)
Parameters
raceint
Returns
GetBodyPropertiesWithAge(ref BodyProperties, float)
BodyProperties GetBodyPropertiesWithAge(ref BodyProperties bodyProperties, float age)
Parameters
bodyPropertiesBodyPropertiesagefloat
Returns
GetMaturityTypeWithAge(float)
BodyMeshMaturityType GetMaturityTypeWithAge(float age)
Parameters
agefloat
Returns
GetMonster(string)
Monster GetMonster(string monsterID)
Parameters
monsterIDstring
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
raceIdstring
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
raceintisFemaleboolbodyPropertiesMinBodyPropertiesbodyPropertiesMaxBodyPropertieshairCoverTypeintseedinthairTagsstringbeardTagsstringtatooTagsstring
Returns
SetBody(ref BodyProperties, int, int)
void SetBody(ref BodyProperties bodyProperties, int build, int weight)
Parameters
bodyPropertiesBodyPropertiesbuildintweightint
SetHair(ref BodyProperties, int, int, int)
void SetHair(ref BodyProperties bodyProperties, int hair, int beard, int tattoo)
Parameters
bodyPropertiesBodyPropertieshairintbeardinttattooint
SetPigmentation(ref BodyProperties, int, int, int)
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).