共用方式為


HalfVector2 Members

The following tables list the members exposed by the HalfVector2 type.

Public Constructors

Name Description
Public Method HalfVector2 Overloaded. Initializes a new instance of the HalfVector2 class.

Public Properties

Name Description
Public Property PackedValue Directly gets or sets the packed representation of the value.

Public Methods

Name Description
Public Method Equals Overloaded. Returns a value that indicates whether the current instance is equal to a specified object.
Public Method GetHashCode Gets the hash code for the current instance.
Public Method GetType (Inherited from Object.)
Public Method Static op_Equality Compares the current instance of a class to another instance to determine whether they are the same.
Public Method Static op_Inequality Compares the current instance of a class to another instance to determine whether they are different.
Public Method ToString Returns a string representation of the current instance.
Public Method ToVector2 Expands the HalfVector2 to a Vector2.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

HalfVector2 Structure
Microsoft.Xna.Framework.Graphics.PackedVector Namespace