ViewFitOptions: {
    animate?: boolean;
    margin?: number;
    updatePivotToCenter?: boolean;
}

Type declaration

  • Optional animate?: boolean

    Whether to animate, when omitted this will default to what has been defined on the Viewer

  • Optional margin?: number

    An optional margin (in percentage of total viewer size) to use as a buffer round the selected models.

  • Optional updatePivotToCenter?: boolean

    Whether the pivot should be updated to the center of the aabb of the given objects

Generated using TypeDoc