◆ ObscuringMode
| Enumerator |
|---|
| None | |
| Hide | |
| AlphaClip | |
◆ 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.
◆ 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.
◆ 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!
◆ 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.
◆ 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 |
The documentation for this class was generated from the following file:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/Items/Components/Wearable.cs