Type alias TCameraTransform

TCameraTransform: {
    position?: MappedinCoordinate | MappedinNode;
    rotation?: number;
    tilt?: number;
    zoom?: number;
}

A configuration of the camera in space.

Type declaration

  • Optional position?: MappedinCoordinate | MappedinNode

    A position in 3D space.

  • Optional rotation?: number

    Angle (in radians) the camera is rotated from north.

  • Optional tilt?: number

    Angle (in radians) of the camera to the ground. 0 means the camera is top-down.

  • Optional zoom?: number

    Distance (in meters) from the target