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
Orientation3D Members

gradient

The Orientation3D type exposes the following members.

collapse_allConstructors

 

Name

Description

pubmethod

Orientation3D()()()()

Default Constructor.

pubmethod

Orientation3D(Orientation3D)

Copy Constructor.

collapse_allMethods

 

Name

Description

pubmethod

CopyFrom

Copies the given Orientation3D 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.)

pubmethodstatic

GetNormalDirection

Returns the Normal (Forward) Direction of the given Quaternion.

pubmethodstatic

GetQuaternionWithOrientation

Returns a Quaternion orientated according to the given Normal and Up Directions.

pubmethodstatic

GetRightDirection

Returns the Right Direction of the given Quaternion.

pubmethodstatic

GetRotationTo(Vector3, Vector3)

Returns the shortest arc Quaternion Rotation needed to rotate the CurrentDirection to be the same as the DestinationDirection. This method is based on Stan Melax's article in Game Programming Gems, and the code was referenced from OgreVector3.h of the Ogre library (www.Ogre3d.org).

pubmethodstatic

GetRotationTo(Vector3, Vector3, Vector3)

Returns the shortest arc Quaternion Rotation needed to rotate the CurrentDirection to be the same as the DestinationDirection. This method is based on Stan Melax's article in Game Programming Gems, and the code was referenced from OgreVector3.h of the Ogre library (www.Ogre3d.org).

pubmethod

GetType

Gets the Type of the current instance.

(Inherited from Object.)

pubmethodstatic

GetUpDirection

Returns the Up Direction of the given Quaternion.

protmethod

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)

pubmethod

Rotate(Matrix)

Rotates the object about its center, changing its Orientation.

pubmethodstatic

Rotate(Matrix, Quaternion)

Returns the given Quaternion rotated about its center, changing its Orientation.

pubmethodstatic

SetNormalDirection

Sets the Normal direction of the given Quaternion to be the given New Normal Direction.

pubmethodstatic

SetRightDirection

Sets the Right direction of the given Quaternion to be the given New Right Direction.

pubmethodstatic

SetUpDirection

Sets the Up direction of the given Quaternion to be the given New Up Direction.

pubmethod

ToString

Returns a String that represents the current Object.

(Inherited from Object.)

pubmethod

Update

Update the Position and Velocity according to the Acceleration, as well as the Orientation according to the Rotational Velocity and Rotational Acceleration.

collapse_allFields

 

Name

Description

pubfield

Orientation

The object's Orientation.

pubfield

RotationalAcceleration

The object's Rotational Acceleration around its center.

NOTE: Rotations are specified by giving a 3D Vector, where the direction is the axis to rotate around, and the vector length is the amount (angle in radians) to rotate. It can also be thought of as Vector(PitchAcceleration, YawAcceleration, RollAcceleration).

pubfield

RotationalVelocity

The object's Rotational Velocity around its center.

NOTE: Rotations are specified by giving a 3D Vector, where the direction is the axis to rotate around, and the vector length is the amount (angle in radians) to rotate. It can also be thought of as Vector(PitchVelocity, YawVelocity, RollVelocity).

collapse_allProperties

 

Name

Description

pubproperty

Normal

Get / Set the Normal (i.e. Forward) direction of the object (i.e. which direction it is facing).

pubproperty

Right

Get / Set the Right direction of the object.

pubproperty

Up

Get / Set the Up direction of the object.

collapse_allSee Also

Orientation3D Class

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com