PCacheCamera.AnimateStaticViewToCenterBoundsFast Method
Mimics the standard AnimateViewToCenterBounds but uses a cached image for performance rather than re-rendering the scene at each step
Parameters
- centerBounds
- The bounds to center the view on.
- shouldScaleToFit
- Indicates whether the camera should scale it's view when necessary to fully fit the given bounds within the camera's view bounds.
- duration
- The amount of time that the animation should take.
Return Value
The newly scheduled activity, if the duration is greater than 0; else null.
See Also
PCacheCamera Class | UMD.HCIL.PiccoloX.Nodes Namespace