aimStep
此内容尚不支持你的语言。
aimStep(
eye,rotation,point,lens,aim,dt):Quat|null
Defined in: sdk/src/camera/LookAtTarget.ts:161
One aim step. Pure: from the camera’s eye and world orientation, the point it looks at, its lens, the composition and dt, the world orientation it turns to. Unchanged while the target is inside the dead zone; outside it, aimed so the target comes back to the zone’s nearest edge, which with no dead zone is the screen point itself. Null when there is nothing to aim at (the point is the eye).
Parameters
Section titled “Parameters”Vec3
rotation
Section titled “rotation”Quat
Vec3
number
Returns
Section titled “Returns”Quat | null