Class Skins.SkinDefinition

java.lang.Object
net.risingworld.api.definitions.Skins.SkinDefinition
Enclosing class:
Skins

public final class Skins.SkinDefinition extends Object
  • Field Details

    • id

      public byte id
      Internal type ID of the definition
    • name

      public String name
      Name of the skin definition
    • type

      public Skins.Type type
      Skin definition type
    • gender

      public Skins.Gender gender
      Gender which can use this skin definition
    • assetpath

      public String assetpath
      Path to the asset
    • rootbone

      public String rootbone
      Root bone for the skinned mesh renderer. May be null
    • bones

      public String[] bones
      Array of bones that need to be assigned to the skinned mesh renderer. May be null
    • offset

      public Vector3f offset
      Optional offset for the asset. Only relevant for certain skin definitions. Default: 0 0 0
    • scale

      public Vector3f scale
      Optional scale for the asset. Only relevant for certain skin definitions. Default: 1 1 1
  • Method Details

    • synchronize

      public void synchronize()