interface Asuka3DCameraOptions {
    addFitRadiusRatio?: number;
    fitOnAdd?: boolean;
    fitViewRadiusRatio?: number;
    focusMultiProductTargetBlend?: number;
    focusOcclusionSamples?: number;
    focusOcclusionTopCandidates?: number;
    focusOcclusionWeight?: number;
    focusTargetCoverageWeight?: number;
    focusViewCandidateSamples?: number;
    focusVisibleAreaWeight?: number;
    maxTilt?: number;
    maxTurn?: number;
    minTilt?: number;
    turnCenter?: number;
}

Properties

addFitRadiusRatio?: number

Optional radius multiplier used only when fitOnAdd is true. Falls back to fitViewRadiusRatio.

fitOnAdd?: boolean

Opt-in only: automatically call Fit view after adding a Product 3D element. Defaults to false so adding an element never forces the camera zoom.

fitViewRadiusRatio?: number

Optional manual fit radius multiplier used by the Fit view action and initial model fit. Defaults to 1.35.

focusMultiProductTargetBlend?: number

Fraction of the group-to-product offset used while focusing a part in multi-product scenes. Defaults to 0.58.

focusOcclusionSamples?: number

Number of sample rays used to prefer a less obstructed module-focus view. Defaults to 7.

focusOcclusionTopCandidates?: number

Number of pre-scored directions that receive expensive occlusion raycasts. Defaults to 4.

focusOcclusionWeight?: number

Weight applied to occlusion while choosing the module-focus view. Higher means stricter clear sight lines.

focusTargetCoverageWeight?: number

Weight applied to the ratio of target samples visible from the chosen view. Higher values reject partially hidden components more aggressively.

focusViewCandidateSamples?: number

Number of candidate camera directions cheaply pre-scored around the focused part. Defaults to 17.

focusVisibleAreaWeight?: number

Weight applied to the projected visible area of the focused part. Higher values prefer angles showing a larger portion of the selected component.

maxTilt?: number

Highest allowed public tilt in degrees above the horizon.

maxTurn?: number

Maximum horizontal turn on either side of turnCenter. 180 allows a full orbit.

minTilt?: number

Lowest allowed public tilt in degrees above the horizon.

turnCenter?: number

Horizontal center angle used by maxTurn.