collapse_all
expand_all
collapse_allexpand_alldropdowndropdownHovercopycodecopycodeHighlight

collapse_all Collapse AllExpand All     dropdown Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++
DPSF API Documentation
Orientation2D
.
.
::
..GetRotationTo Method
gradient

Returns the Rotation needed to rotate the object from the Current Rotation to the Desired Rotation

Namespace: DPSF

Assembly: DPSF (in DPSF.dll) Version: 2.5.0.0

collapse_allSyntax

C#

public static float GetRotationTo(

 float fCurrentRotation,

 float fDesiredRotation

)

Visual Basic

Public Shared Function GetRotationTo (

 fCurrentRotation As Single,

 fDesiredRotation As Single

As Single

Visual C++

public:

static float GetRotationTo(

 float fCurrentRotation,

 float fDesiredRotation

)

Parameters

fCurrentRotation

Type: System..::..Single

The object's Current Rotation in radians

fDesiredRotation

Type: System..::..Single

The object's Desired Rotation in radians

Return Value

Type: Single

Returns the Rotation needed to rotate the object from the Current Rotation to the Desired Rotation

collapse_allSee Also

Orientation2D Class

Orientation2D Members

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com