BIM.works SDKs - v3.0.0-beta.168
    Preparing search index...

    Interface TransitionCameraFit

    A camera change of a TransitionStep: fit objects, as ObjectStateManager.viewFit does

    interface TransitionCameraFit {
        duration?: number;
        fit: string | Iterable<Qid, any, any>;
        fov?: number;
        margin?: number;
        projection?: "perspective" | "orthographic";
        updatePivot?: boolean;
        viewDirection?: vec3;
    }

    Hierarchy (View Summary)

    Index

    Properties

    duration?: number

    Milliseconds; default the step's duration

    fit: string | Iterable<Qid, any, any>
    fov?: number

    A perspective's vertical field of view in degrees, above 0 and below 180; alone it means "perspective"

    margin?: number
    projection?: "perspective" | "orthographic"

    "orthographic", or "perspective" with fov (default the camera's own perspective field of view)

    updatePivot?: boolean

    Make the fitted box's centre the orbit pivot; default true

    viewDirection?: vec3