Class SkinnablePartVariant
- Namespace
- Vintagestory.GameContent
- Assembly
- VSSurvivalMod.dll
A variant of skin part Open in GitHub
[DocumentAsJson]
public class SkinnablePartVariant
- Inheritance
-
SkinnablePartVariant
Fields
Code (Required)
Unique code of the skin part. Used in translation together with color- prefix for Texture and skinpart- for Shape skin part types respectively, e.g. color-skin1
[DocumentAsJson("Required", "", false)]
public string Code
Field Value
Category (Optional) (Default: standard)
Currently unused
[DocumentAsJson("Optional", "standard", false)]
public string Category
Field Value
Shape (Optional) (Default: None)
The part shape applied to entity shape. When not set, ShapeTemplate is used instead. Only works with Type set to Shape
[DocumentAsJson("Optional", "None", false)]
public CompositeShape Shape
Field Value
Sound (Optional) (Default: None)
[DocumentAsJson("Optional", "None", false)]
public AssetLocation Sound
Field Value
Texture (Optional) (Default: None)
[DocumentAsJson("Optional", "None", false)]
public AssetLocation Texture