getViewTransform abstract method

Matrix4 getViewTransform(
  1. Size dimensions
)

Returns the combined projection-and-view transform for a render target of the given dimensions.

Called once per Scene.render call. Implementations may read dimensions (typically to compute aspect ratio) and any subclass configuration to build the matrix.

Implementation

Matrix4 getViewTransform(ui.Size dimensions);