Interface TransformData
interface TransformData {
get boundingRect(): DOMRect;
get corners(): Vec3[];
get css(): string;
get mat4(): Mat4;
get originTranslations(): Mat4[];
}
get boundingRect(): DOMRect;
get corners(): Vec3[];
get css(): string;
get mat4(): Mat4;
get originTranslations(): Mat4[];
}
Index
Accessors
Accessors
boundingRect
Returns DOMRect
The bounding rectangle.
corners
Returns Vec3[]
The transformed corner points as Vec3 in screen space.
css
- get css(): string
Returns string
Returns the CSS style string for the transform matrix.
mat4
Returns Mat4
The transform matrix.
originTranslations
Returns Mat4[]
The pre / post translation matrices for origin translation.
Provides the output data for TransformAPI.getData.