Wraps screen transform boundaries

Hierarchy (view full)

Constructors

Properties

sceneObject: SceneObject

The scene object to compute using

screenTransform: ScreenTransform = ...
startingBoundaries: Rect
startingPosition: vec2 = ...

Accessors

  • get boundaries(): Rect
  • Returns Rect

  • get position(): vec3
  • Returns vec3

    local position in world units relative to the parent's center

  • set position(position): void
  • Sets local position in world units relative to the parent's center

    Parameters

    • position: vec3

      desired position

    Returns void

  • get size(): vec2
  • Returns vec2

    the size of the rectangle boundaries as (width, height).

Methods