getViewTransform method

  1. @override
Matrix4 getViewTransform(
  1. Size dimensions
)
override

Implementation

@override
Matrix4 getViewTransform(ui.Size dimensions) {
  return _matrix4Perspective(fovRadiansY,
          dimensions.width / dimensions.height, fovNear, fovFar) *
      _matrix4LookAt(position, target, up);
}