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++     dropdown Members: Show All Members: Filtered Members: Filtered Members: Filtered

[TCheckBoxFormControlObj]C#

[TCheckBoxFormControlObj]Visual Basic

[TCheckBoxFormControlObj]
Visual C++

[TCheckBoxFormControlObj]Include Protected Members

[TCheckBoxFormControlObj]
Include Inherited Members
DPSF API Documentation
PivotPoint2D Members

PivotPoint2D Class

Constructors

Properties See Also Send Feedback

gradient

The PivotPoint2D type exposes the following members.

collapse_allConstructors

 

Name

Description

pubmethod

PivotPoint2D(PivotPoint2D)

Copy Constructor

pubmethod

PivotPoint2D(Position2D)

Explicit Constructor. Set the Position2D object that should be affected by rotations around this Pivot Point.

pubmethod

PivotPoint2D(Position2D, Orientation2D)

Explicit Constructor. Set the Position2D and Orientation2D objects that should be affected by rotational around this Pivot Point.

collapse_allMethods

 

Name

Description

pubmethod

CopyFrom

Copies the given PivotPoint2D object's data into this object's data

pubmethod

Equals

Determines whether the specified Object is equal to the current Object.

(Inherited from Object.)

protmethod

Finalize

Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

(Inherited from Object.)

pubmethod

GetHashCode

Serves as a hash function for a particular type.

(Inherited from Object.)

pubmethod

GetType

Gets the Type of the current instance.

(Inherited from Object.)

protmethod

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)

pubmethod

RotatePosition(Single, Vector2)

Rotates the object around the specified Pivot Point, changing its Position, without changing its Orientation.

pubmethodstatic

RotatePosition(Single, Vector2, Vector2)

Returns the new Position after Rotating the given Position around the specified Pivot Point

pubmethod

RotatePositionAndOrientation(Single, Vector2)

Rotates the object about its center, changing its Orientation, as well as around the specified Pivot Point, changing its Position

pubmethodstatic

RotatePositionAndOrientation(Single, Vector2, Vector2%, Single%)

Rotates the given Position and Orientation around the Pivot Point, changing the Position and Orientation

pubmethod

RotatePositionAndOrientationVector3(Single, Vector3)

Rotates the object about its center, changing its Orientation, as well as around the specified 3D Pivot Point, changing its 2D Position.

NOTE: The Pivot Point's Z-value is ignored.

NOTE: This function is provided for convenience when using 3D Vectors in 2D coordinate systems.

pubmethodstatic

RotatePositionAndOrientationVector3(Single, Vector3, Vector3%, Single%)

Rotates the given Position and Orientation around the Pivot Point, changing the Position and Orientation.

NOTE: The Pivot Point and Position's Z-values are ignored.

NOTE: This function is provided for convenience when using 3D Vectors in 2D coordinate systems.

pubmethod

RotatePositionVector3(Single, Vector3)

Rotates the object around the specified Pivot Point, changing its Position, without changing its Orientation.

NOTE: The Pivot Point's Z-value is ignored.

NOTE: This function is provided for convenience when using 3D Vectors in 2D coordinate systems.

pubmethodstatic

RotatePositionVector3(Single, Vector3, Vector3)

Returns the new Position after Rotating the given Position around the specified Pivot Point.

NOTE: The Pivot Point and Position's Z-values are ignored.

This function is provided for convenience when using 3D Vectors in 2D coordinate systems.

pubmethod

ToString

Returns a String that represents the current Object.

(Inherited from Object.)

pubmethod

Update

Update the Position and Orientation according to the Pivot Rotational Velocity / Acceleration

collapse_allFields

 

Name

Description

pubfield

PivotPoint

The 2D Pivot Point that the object should rotate around.

NOTE: This only has effect when Rotational Pivot Velocity / Acceleration are used.

pubfield

PivotRotationalAcceleration

The object's Rotational Acceleration around the Pivot Point (Position change).

NOTE: Rotations are specified in radians.

pubfield

PivotRotationalVelocity

The object's Rotational Velocity around the Pivot Point (Position change).

NOTE: Rotations are specified in radians.

collapse_allProperties

 

Name

Description

pubproperty

OrientationData

Get / Set the Orientation2D object that the Pivot Point should affect

pubproperty

PositionData

Get / Set the Position2D object that the Pivot Point should affect

pubproperty

RotateOrientationToo

Specify if the Update() function should Rotate the object's Orientation too when it rotates the object around the Pivot Point

collapse_allSee Also

PivotPoint2D Class

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com