RSX Code Reference
    Preparing search index...
    • rsx
    • MaterialSection

    Class MaterialSection

    The MaterialSection class represents a named material section. It is typically constructed by a Renderable and used to assign a Material resource to a specific section of the Renderable.

    Index
    • Parameters

      • OptionalisInternalConstructor: boolean

      Returns MaterialSection

    • get material(): Material

      Assigns the material to the section and notifies the owner of the change.

      Returns Material

    • set material(value: Material): void

      Assigns the material to the section and notifies the owner of the change.

      Parameters

      Returns void

    • get name(): string

      Gets the name of this instance.

      Returns string

    • set name(value: string): void

      Parameters

      • value: string

      Returns void