Creates the mouse controller state from the parameters given in degrees.

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

Syntax

C#
public static XViewportMouseControllerState CreateDgr(
	Vector3 center,
	float distance,
	float yawAngle,
	float pitchAngle
)

Parameters

center
Type: Vector3
Center midpoint coordinates.
distance
Type: System..::.Single
Distance from the center midpoint.
yawAngle
Type: System..::.Single
Yaw (horizontal divergence) in degrees.
pitchAngle
Type: System..::.Single
Pitch (vertical divergence) in degrees.

Return Value

Returns newly created XViewportMouseControllerState controller state.

See Also