Piccolo.NET

PControlEventHandler.AnimateCameraViewMatrixTo Method 

Animate the camera's view matrix from its current value when the activity starts to the new destination matrix value.

protected virtual PActivity AnimateCameraViewMatrixTo(
   PCamera aCamera,
   PMatrix aMatrix,
   int duration
);

Parameters

aCamera
The camera whose view matrix will be animated.
aMatrix
The final matrix value.
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

PControlEventHandler Class | UMD.HCIL.PiccoloX.Events Namespace


Web Accessibility