Class WorldObject

Fat component that contains data applicable to the entire scene.

Hierarchy (view full)

Constructors

Accessors

  • get category(): string
  • Returns the category of the fat component type.

    Returns string

  • get componentParts(): Component[]
  • Return all the parts of this fat component.

    Returns Component[]

  • get editorCamera(): Camera
  • The scene editor camera.

    Returns Camera

    Only available when editing a scene, not serialized.

  • set editorCamera(value): void
  • Parameters

    Returns void

  • get mainCamera(): Camera
  • The scene main camera.

    Returns Camera

  • set mainCamera(value): void
  • Parameters

    Returns void

  • get name(): string
  • Returns the name of the fat component type.

    Returns string

Methods

  • Returns void

  • Returns void