orientation property

Point4d get orientation

Retrieves the current orientation of the camera.

Returns

  • (Point4d) The current (x, y, z, w) orientation of the camera.

Also see:

Implementation

Point4d get orientation {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapCamera',
    'getOrientation',
  );
  return Point4d.fromJson(resultString['result']);
}
set orientation (Point4d orient)

Set camera orientation using a quaternion.

Parameters

  • orient: (Point4d) Quaternion expressed as (x, y, z, w).

Implementation

set orientation(final Point4d orient) {
  objectMethod(_pointerId, 'MapCamera', 'setOrientation', args: orient);
}