API

Interface ArcRotateInterpolationGoal

Destination pose for interpolateArcRotateCamera. Every field is optional; an omitted (or NaN) field keeps the camera's current value for that channel, so you can interpolate only the radius, only the target, and so on. target is copied, not retained, so the caller may reuse the vector afterwards.

interface ArcRotateInterpolationGoal {
    alpha?: number;
    beta?: number;
    radius?: number;
    target?: Vec3;
}
Index
alpha?: number

Goal orbit angle (radians). Interpolated along the shortest arc.

beta?: number

Goal elevation angle (radians). Interpolated along the shortest arc.

radius?: number

Goal distance from target.

target?: Vec3

Goal orbit target point (copied).