Interface SkinLoadOptions

interface SkinLoadOptions {
    ears?: boolean | "load-only";
    makeVisible?: boolean;
    model?: ModelType | "auto-detect";
}

Hierarchy (view full)

Properties

ears?: boolean | "load-only"

Whether to display the ears drawn on the skin texture.

  • true - Display the ears drawn on the skin texture.
  • "load-only" - Loads the ear texture, but do not make them visible. You can make them visible later by setting PlayerObject.ears.visible to true.
  • false - Do not load or show the ears.

Default Value

false

makeVisible?: boolean

Whether to make the object visible after the texture is loaded.

Default Value

true

model?: ModelType | "auto-detect"

The model of the player ("default" for normal arms, and "slim" for slim arms).

When set to "auto-detect", the model will be inferred from the skin texture.

Default Value

"auto-detect"

Generated using TypeDoc