pointOfViewTransform method

Future<Matrix4?> pointOfViewTransform()

Provides the point of view transform in world space (relative to the scene's root node)

Implementation

Future<Matrix4?> pointOfViewTransform() async {
  final pointOfViewTransform =
      await _channel.invokeListMethod<double>('pointOfViewTransform');
  return pointOfViewTransform != null
      ? _matrixConverter.fromJson(pointOfViewTransform)
      : null;
}