setViewTarget
此内容尚不支持你的语言。
setViewTarget(
host,entity,opts?):void
Defined in: camera/CameraDirector.ts:145
Switch the active view target, optionally blending over time seconds with an
easing curve. Records intent; the director applies it on the next frame
(snapshotting the current view as the blend start). time<=0 (or no prior
view) is an instant cut. Pass the App from host code, or the
Res(CameraDirector) state from inside a system.
Parameters
Section titled “Parameters”CameraDirectorHost
entity
Section titled “entity”number
curve?
Section titled “curve?”number
number
Returns
Section titled “Returns”void