Type Alias TAddImageOptions

TAddImageOptions: {
    flipImageToFaceCamera?: boolean;
    height: number;
    maxImageSize?: number;
    rotation?: number;
    verticalOffset?: number;
    width: number;
}

Options for controlling the behavior of an Image3DView.

Type declaration

  • OptionalflipImageToFaceCamera?: boolean

    If true, the image will automatically rotate to face the camera, creating a billboard effect.

    false
    
  • height: number

    Height of the image in meters.

  • OptionalmaxImageSize?: number

    Maximum image width or height in pixels. If the image's largest dimension exceeds this value, it will be scaled down proportionally. This helps prevent VRAM exhaustion on mobile devices.

    1024
    
  • Optionalrotation?: number

    Rotation of the image in degrees clockwise from North. 0 degrees is North, 90 degrees is East, 180 degrees is South, and 270 degrees is West.

    0
    
  • OptionalverticalOffset?: number

    Vertical offset of the image in meters.

    0
    
  • width: number

    Width of the image in meters.