Provides the output data for TransformAPI.getData.

interface TransformData {
    get boundingRect(): DOMRect;
    get corners(): Vec3[];
    get css(): string;
    get mat4(): Mat4;
    get originTranslations(): Mat4[];
}

Accessors

  • get corners(): Vec3[]
  • Returns Vec3[]

    The transformed corner points as Vec3 in screen space.

  • get css(): string
  • Returns string

    Returns the CSS style string for the transform matrix.

  • get mat4(): Mat4
  • Returns Mat4

    The transform matrix.

  • get originTranslations(): Mat4[]
  • Returns Mat4[]

    The pre / post translation matrices for origin translation.