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

Render.Model

Index

Methods

clearAllParts

  • clearAllParts(): void
  • Clears all parts of the model.


    Returns void

getPart

  • Parameters

    • partName: string

      part name

    Returns ModelPart

    Part by it's name or null if part doesn't exist.

hasPart

  • hasPart(partName: string): boolean
  • Parameters

    • partName: string

      part name

    Returns boolean

    true if part with specified name exists in the model, false otherwise.

reset

  • reset(): void
  • Resets the model


    Returns void