Barotrauma Client Doc
Barotrauma.CharacterInfo.HeadInfo Class Reference

Public Member Functions

void SetHairWithHatIndex ()
 
 HeadInfo (CharacterInfo characterInfo, HeadPreset headPreset, int hairIndex=0, int beardIndex=0, int moustacheIndex=0, int faceAttachmentIndex=0)
 
void ResetAttachmentIndices ()
 

Public Attributes

readonly CharacterInfo CharacterInfo
 
readonly HeadPreset Preset
 
int BeardIndex
 
int MoustacheIndex
 
int FaceAttachmentIndex
 
Color HairColor
 
Color FacialHairColor
 
Color SkinColor
 

Properties

int HairIndex [get, set]
 
Vector2 SheetIndex [get]
 
ContentXElement??? HairElement [get]
 
ContentXElement??? HairWithHatElement [get]
 
ContentXElement??? BeardElement [get]
 
ContentXElement??? MoustacheElement [get]
 
ContentXElement??? FaceAttachment [get]
 

Detailed Description

Constructor & Destructor Documentation

◆ HeadInfo()

Barotrauma.CharacterInfo.HeadInfo.HeadInfo ( CharacterInfo  characterInfo,
HeadPreset  headPreset,
int  hairIndex = 0,
int  beardIndex = 0,
int  moustacheIndex = 0,
int  faceAttachmentIndex = 0 
)

Member Function Documentation

◆ ResetAttachmentIndices()

void Barotrauma.CharacterInfo.HeadInfo.ResetAttachmentIndices ( )

◆ SetHairWithHatIndex()

void Barotrauma.CharacterInfo.HeadInfo.SetHairWithHatIndex ( )

Member Data Documentation

◆ BeardIndex

int Barotrauma.CharacterInfo.HeadInfo.BeardIndex

◆ CharacterInfo

readonly CharacterInfo Barotrauma.CharacterInfo.HeadInfo.CharacterInfo

◆ FaceAttachmentIndex

int Barotrauma.CharacterInfo.HeadInfo.FaceAttachmentIndex

◆ FacialHairColor

Color Barotrauma.CharacterInfo.HeadInfo.FacialHairColor

◆ HairColor

Color Barotrauma.CharacterInfo.HeadInfo.HairColor

◆ MoustacheIndex

int Barotrauma.CharacterInfo.HeadInfo.MoustacheIndex

◆ Preset

readonly HeadPreset Barotrauma.CharacterInfo.HeadInfo.Preset

◆ SkinColor

Color Barotrauma.CharacterInfo.HeadInfo.SkinColor

Property Documentation

◆ BeardElement

ContentXElement??? Barotrauma.CharacterInfo.HeadInfo.BeardElement
get

◆ FaceAttachment

ContentXElement??? Barotrauma.CharacterInfo.HeadInfo.FaceAttachment
get

◆ HairElement

ContentXElement??? Barotrauma.CharacterInfo.HeadInfo.HairElement
get

◆ HairIndex

int Barotrauma.CharacterInfo.HeadInfo.HairIndex
getset

◆ HairWithHatElement

ContentXElement??? Barotrauma.CharacterInfo.HeadInfo.HairWithHatElement
get

◆ MoustacheElement

ContentXElement??? Barotrauma.CharacterInfo.HeadInfo.MoustacheElement
get

◆ SheetIndex

Vector2 Barotrauma.CharacterInfo.HeadInfo.SheetIndex
get