|
Barotrauma Client Doc
|
Public Types | |
| enum class | ObscuringMode { None , Hide , AlphaClip } |
Public Member Functions | |
| WearableSprite (ContentXElement subElement, WearableType type) | |
| WearableSprite (ContentXElement subElement, Wearable wearable, int variant=0) | |
| Note: this constructor cannot initialize automatically, because the gender is unknown at this point. We only know it when the item is equipped. More... | |
| void | ParsePath (bool parseSpritePath) |
| void | Init (Character picker=null) |
Properties | |
| ContentPath | UnassignedSpritePath [get] |
| string | SpritePath [get] |
| ContentXElement | SourceElement [get] |
| WearableType | Type [get] |
| Sprite | Sprite [get] |
| LimbType | Limb [get] |
| bool | HideLimb [get] |
| ObscuringMode | ObscureOtherWearables [get] |
| bool | HideOtherWearables [get] |
| bool | AlphaClipOtherWearables [get] |
| bool | CanBeHiddenByOtherWearables [get] |
| ImmutableHashSet< Identifier > | CanBeHiddenByItem [get] |
| Tags or identifiers of items that can hide this one. More... | |
| List< WearableType > | HideWearablesOfType [get] |
| bool | InheritLimbDepth [get] |
| bool | InheritScale [get] |
| Does the wearable inherit all the scalings of the wearer? Also the wearable's own scale is used! More... | |
| bool | IgnoreRagdollScale [get] |
| bool | IgnoreLimbScale [get] |
| bool | IgnoreTextureScale [get] |
| bool | InheritOrigin [get] |
| bool | InheritSourceRect [get] |
| float | Scale [get] |
| float | Rotation [get] |
| LimbType | DepthLimb [get] |
| Wearable | WearableComponent [get, set] |
| string | Sound [get] |
| Point? | SheetIndex [get] |
| LightComponent | LightComponent [get] |
| List< LightComponent > | LightComponents [get] |
| int | Variant [get, set] |
| Character | Picker [get, set] |
| None = Any/Not Defined -> no effect. Changing the gender forces re-initialization, because the textures can be different for male and female characters. More... | |
| bool | IsInitialized [get] |
Definition at line 25 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
strong |
| Enumerator | |
|---|---|
| None | |
| Hide | |
| AlphaClip | |
Definition at line 49 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
| Barotrauma.WearableSprite.WearableSprite | ( | ContentXElement | subElement, |
| WearableType | type | ||
| ) |
Definition at line 133 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
| Barotrauma.WearableSprite.WearableSprite | ( | ContentXElement | subElement, |
| Wearable | wearable, | ||
| int | variant = 0 |
||
| ) |
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 BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
| void Barotrauma.WearableSprite.Init | ( | Character | picker = null | ) |
Definition at line 209 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
| void Barotrauma.WearableSprite.ParsePath | ( | bool | parseSpritePath | ) |
Definition at line 179 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 57 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Tags or identifiers of items that can hide this one.
Definition at line 63 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 58 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 80 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 47 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 56 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 64 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 71 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 70 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 72 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 65 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 73 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
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 BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 74 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 208 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 98 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 100 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 46 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 55 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
getset |
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 BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 78 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 76 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 96 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 95 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 29 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 33 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 28 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 31 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
get |
Definition at line 27 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
getset |
Definition at line 113 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.
|
getset |
Definition at line 82 of file BarotraumaShared/SharedSource/Items/Components/Wearable.cs.