Performs camera animation according to the given parameters.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public void Animate(
	XViewportMouseControllerState from,
	XVMCAnimate prms,
	float x,
	float y,
	float z,
	float distance,
	float yaw,
	float pitch,
	float autoRotation,
	double duration,
	double delay,
	bool normalized
)

Parameters

from
Type: SGP.XSpace..::.XViewportMouseControllerState
Initial camera settings at the animation beginning.
prms
Type: SGP.XSpace..::.XVMCAnimate
Parameters unit interpretation mode.
x
Type: System..::.Single
Center midpoint X coordinate.
y
Type: System..::.Single
Center midpoint Y coordinate.
z
Type: System..::.Single
Center midpoint Z coordinate.
distance
Type: System..::.Single
Distance from the center midpoint.
yaw
Type: System..::.Single
Yaw (horizontal divergence) in radians.
pitch
Type: System..::.Single
Pitch (vertical divergence) in radians.
autoRotation
Type: System..::.Single
Autorotation angle. Unit type is given in the parameter prms.
duration
Type: System..::.Double
Animation duration. Unit type is given in the parameter prms.
delay
Type: System..::.Double
Delay of the animation start. Unit type is given in the parameter prms.
normalized
Type: System..::.Boolean
Determines whether the angle will be normalized.

See Also