P3d.in Embed API
    Preparing search index...

    Interface P3dCameraOptions

    interface P3dCameraOptions {
        instant?: boolean;
        location?: { x: number; y: number; z: number };
        makeDefault?: boolean;
        target?: { x: number; y: number; z: number };
    }

    Hierarchy (View Summary)

    Index

    Properties

    instant?: boolean

    Move camera to target location instantly rather than doing animation

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

    Location of the camera, in scene space coordinates

    makeDefault?: boolean

    Make this the default camera orientation so that camera reset (double click, R button) reverts to this location instead

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

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