Class SkinnablePart
- Namespace
- Vintagestory.GameContent
- Assembly
- VSSurvivalMod.dll
A part that is applied to player's shape, voice or textures during customization Open in GitHub
[DocumentAsJson]
public class SkinnablePart
- Inheritance
-
SkinnablePart
Fields
Code (Required)
Unique code of the skin part. Used in translation together with skinpart- as prefix, e.g. skinpart-baseskin
[DocumentAsJson("Required", "", false)]
public string Code
Field Value
Colbreak (Optional) (Default: False)
Moves the next skin part after this one to the right side of the customization UI
[DocumentAsJson("Optional", "False", false)]
public bool Colbreak
Field Value
DisableElements (Optional) (Default: None)
Disables listed shape elements in entity shape when this skin part is applied
[DocumentAsJson("Optional", "None", false)]
public string[] DisableElements
Field Value
- string[]
Hidden (Optional) (Default: False)
Hides the skin part option in the customization UI
[DocumentAsJson("Optional", "False", false)]
public bool Hidden
Field Value
ShapeTemplate (Optional) (Default: None)
[DocumentAsJson("Optional", "None", false)]
public CompositeShape ShapeTemplate
Field Value
TextureRenderTo (Optional) (Default: None)
The offset of texture from TextureTarget. Only works with Type set to Texture
[DocumentAsJson("Optional", "None", false)]
public Vec2i TextureRenderTo
Field Value
TextureTarget (Optional) (Default: None)
The main texture code to which the texture defined in TextureTemplate will be applied to. Only works with Type set to Texture
[DocumentAsJson("Optional", "None", false)]
public string TextureTarget
Field Value
TextureTemplate (Optional) (Default: None)
[DocumentAsJson("Optional", "None", false)]
public AssetLocation TextureTemplate
Field Value
Type (Optional) (Default: EnumSkinnableType.Shape)
A type of the skin part
[DocumentAsJson("Optional", "EnumSkinnableType.Shape", false)]
public EnumSkinnableType Type
Field Value
UseDropDown (Optional) (Default: False)
Uses dropdown instead of icon grid for choosing this skin part in customization UI. Only works with Type set to Texture
[DocumentAsJson("Optional", "False", false)]
public bool UseDropDown