Definition at line 25 of file Wearable.cs.
◆ ObscuringMode
Enumerator |
---|
None | |
Hide | |
AlphaClip | |
Definition at line 49 of file Wearable.cs.
◆ WearableSprite() [1/2]
◆ WearableSprite() [2/2]
Note: this constructor cannot initialize automatically, because the gender is unknown at this point. We only know it when the item is equipped.
Definition at line 155 of file Wearable.cs.
◆ Init()
void Barotrauma.WearableSprite.Init |
( |
Character |
picker = null | ) |
|
◆ ParsePath()
void Barotrauma.WearableSprite.ParsePath |
( |
bool |
parseSpritePath | ) |
|
◆ AlphaClipOtherWearables
bool Barotrauma.WearableSprite.AlphaClipOtherWearables |
|
get |
◆ CanBeHiddenByItem
ImmutableHashSet<Identifier> Barotrauma.WearableSprite.CanBeHiddenByItem |
|
get |
Tags or identifiers of items that can hide this one.
Definition at line 63 of file Wearable.cs.
◆ CanBeHiddenByOtherWearables
bool Barotrauma.WearableSprite.CanBeHiddenByOtherWearables |
|
get |
◆ DepthLimb
LimbType Barotrauma.WearableSprite.DepthLimb |
|
get |
◆ HideLimb
bool Barotrauma.WearableSprite.HideLimb |
|
get |
◆ HideOtherWearables
bool Barotrauma.WearableSprite.HideOtherWearables |
|
get |
◆ HideWearablesOfType
List<WearableType> Barotrauma.WearableSprite.HideWearablesOfType |
|
get |
◆ IgnoreLimbScale
bool Barotrauma.WearableSprite.IgnoreLimbScale |
|
get |
◆ IgnoreRagdollScale
bool Barotrauma.WearableSprite.IgnoreRagdollScale |
|
get |
◆ IgnoreTextureScale
bool Barotrauma.WearableSprite.IgnoreTextureScale |
|
get |
◆ InheritLimbDepth
bool Barotrauma.WearableSprite.InheritLimbDepth |
|
get |
◆ InheritOrigin
bool Barotrauma.WearableSprite.InheritOrigin |
|
get |
◆ InheritScale
bool Barotrauma.WearableSprite.InheritScale |
|
get |
Does the wearable inherit all the scalings of the wearer? Also the wearable's own scale is used!
Definition at line 69 of file Wearable.cs.
◆ InheritSourceRect
bool Barotrauma.WearableSprite.InheritSourceRect |
|
get |
◆ IsInitialized
bool Barotrauma.WearableSprite.IsInitialized |
|
get |
◆ LightComponent
◆ LightComponents
◆ Limb
◆ ObscureOtherWearables
◆ Picker
None = Any/Not Defined -> no effect. Changing the gender forces re-initialization, because the textures can be different for male and female characters.
Definition at line 120 of file Wearable.cs.
◆ Rotation
float Barotrauma.WearableSprite.Rotation |
|
get |
◆ Scale
float Barotrauma.WearableSprite.Scale |
|
get |
◆ SheetIndex
Point? Barotrauma.WearableSprite.SheetIndex |
|
get |
◆ Sound
string Barotrauma.WearableSprite.Sound |
|
get |
◆ SourceElement
◆ Sprite
Sprite Barotrauma.WearableSprite.Sprite |
|
get |
◆ SpritePath
string Barotrauma.WearableSprite.SpritePath |
|
get |
◆ Type
◆ UnassignedSpritePath
ContentPath Barotrauma.WearableSprite.UnassignedSpritePath |
|
get |
◆ Variant
int Barotrauma.WearableSprite.Variant |
|
getset |
◆ WearableComponent
Wearable Barotrauma.WearableSprite.WearableComponent |
|
getset |