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
Position2DWithPreviousPosition Members
gradient

The Position2DWithPreviousPosition type exposes the following members.

collapse_allConstructors

 

Name

Description

pubmethod

Position2DWithPreviousPosition()()()()

Default Constructor.

pubmethod

Position2DWithPreviousPosition(Position2D)

Copy Constructor.

pubmethod

Position2DWithPreviousPosition(Position2DWithPreviousPosition)

Copy Constructor.

collapse_allMethods

 

Name

Description

pubmethod

CopyFrom(Position2D)

Copy the given Position2D object's data into this objects data.

(Overrides Position2D..::..CopyFrom(Position2D).)

pubmethod

CopyFrom(Position2DWithPreviousPosition)

Copy the given Position2DWithPreviousPosition object's data into this objects 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

ToString

Returns a String that represents the current Object.

(Inherited from Object.)

pubmethod

Update

Update the Position and Velocity according to the Acceleration.

(Overrides Position2D..::..Update(Single).)

collapse_allFields

 

Name

Description

pubfield

Acceleration

The object's Acceleration

(Inherited from Position2D.)

pubfield

Position

The object's 2D Position

(Inherited from Position2D.)

pubfield

PreviousPosition

The object's last position (before Update() was called).

pubfield

Velocity

The object's Position

(Inherited from Position2D.)

collapse_allProperties

 

Name

Description

pubproperty

AccelerationVector3

Get / Set the object's 2D Acceleration using a Vector3.

NOTE: The Z-value is ignored when Setting, and is given a value of zero when Getting.

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

para>

(Inherited from Position2D.)

pubproperty

PositionVector3

Get / Set the object's 2D Position using a Vector3.

NOTE: The Z-value is ignored when Setting, and is given a value of zero when Getting.

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

(Inherited from Position2D.)

pubproperty

UpdatePreviousPositionAutomatically

Set this to False to not have the Update() function update the PreviousPosition value. Instead it will be up to an external object to update the PreviousPosition property each frame.

Default value is True.

pubproperty

VelocityVector3

Get / Set the object's 2D Velocity using a Vector3.

NOTE: The Z-value is ignored when Setting, and is given a value of zero when Getting.

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

para>

(Inherited from Position2D.)

collapse_allSee Also

Position2DWithPreviousPosition Class

DPSF Namespace

footer

Send comments on this topic to
Dan@DansKingdom.com