Aracılığıyla paylaş


Short2 Members

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

Public Constructors

Name Description
Public Method Short2 Overloaded. Initializes a new instance of the Short2 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 packed representation to a vector.

Protected Methods

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

See Also

Reference

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