Table of Contents

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

Monster

GetBaseMonsterNameFromRace(int)

public string GetBaseMonsterNameFromRace(int race)

Parameters

race int

Returns

string

GetBodyPropertiesWithAge(ref BodyProperties, float)

public BodyProperties GetBodyPropertiesWithAge(ref BodyProperties bodyProperties, float age)

Parameters

bodyProperties BodyProperties
age float

Returns

BodyProperties

GetMaturityTypeWithAge(float)

public BodyMeshMaturityType GetMaturityTypeWithAge(float age)

Parameters

age float

Returns

BodyMeshMaturityType

GetMonster(string)

public Monster GetMonster(string monsterID)

Parameters

monsterID string

Returns

Monster

GetMonsterWithSuffix(int, string)

public Monster GetMonsterWithSuffix(int race, string suffix)

Parameters

race int
suffix string

Returns

Monster

GetParamsFromBody(ref FaceGenerationParams, BodyProperties, bool, bool)

public void GetParamsFromBody(ref FaceGenerationParams faceGenerationParams, BodyProperties bodyProperties, bool earsAreHidden, bool mouthIsHidden)

Parameters

faceGenerationParams FaceGenerationParams
bodyProperties BodyProperties
earsAreHidden bool
mouthIsHidden bool

GetRaceCount()

public int GetRaceCount()

Returns

int

GetRaceNames()

public string[] GetRaceNames()

Returns

string[]

GetRaceOrDefault(string)

public int GetRaceOrDefault(string raceId)

Parameters

raceId string

Returns

int

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 int
isFemale bool
bodyPropertiesMin BodyProperties
bodyPropertiesMax BodyProperties
hairCoverType int
seed int
hairTags string
beardTags string
tattooTags string

Returns

BodyProperties

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).