Перейти к основному содержанию

ActorRenderer

Class, upon which armor and attachments render is based It is a model that consists of parts, same as in Render, but more abstract, allows creating root parts instead of inheritance from old humanoid model.

@since

2.2.0b75

Index

Constructors

constructor

Methods

addPart

  • Adds a child model part of an existing one.


    Parameters

    • name: string

      child model name

    • parentName: string

      parent model name

    • optionalmesh: RenderMesh

    Returns ModelPart

getPart

getUniformSet

setMaterial

  • setMaterial(materialName: string): void
  • Parameters

    • materialName: string

    Returns void

setTexture

  • setTexture(textureName: string): void
  • Parameters

    • textureName: string

    Returns void