Interface P3dCameraTransform

interface P3dCameraTransform {
    location?: {
        x: number;
        y: number;
        z: number;
    };
    target?: {
        x: number;
        y: number;
        z: number;
    };
}

Hierarchy (view full)

Properties

Properties

location?: {
    x: number;
    y: number;
    z: number;
}

Location of the camera, in scene space coordinates

Type declaration

  • x: number
  • y: number
  • z: number
target?: {
    x: number;
    y: number;
    z: number;
}

Point that the camera is looking at and rotating around, in scene space coordinates

Type declaration

  • x: number
  • y: number
  • z: number