Piccolo.NET

PCamera.AnimateViewToMatrix Method 

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

public virtual PTransformActivity AnimateViewToMatrix(
   PMatrix destination,
   long duration
);

Parameters

destination
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

PCamera Class | UMD.HCIL.Piccolo Namespace


Web Accessibility