Short2 Members
The following tables list the members exposed by the Short2 type.
Public Constructors
Name | Description | |
---|---|---|
Short2 | Overloaded. Initializes a new instance of the Short2 class. |
Public Properties
Name | Description | |
---|---|---|
PackedValue | Directly gets or sets the packed representation of the value. |
Public Methods
Name | Description | |
---|---|---|
Equals | Overloaded. Returns a value that indicates whether the current instance is equal to a specified object. | |
GetHashCode | Gets the hash code for the current instance. | |
GetType | (Inherited from Object.) | |
op_Equality | Compares the current instance of a class to another instance to determine whether they are the same. | |
op_Inequality | Compares the current instance of a class to another instance to determine whether they are different. | |
ToString | Returns a string representation of the current instance. | |
ToVector2 | Expands the packed representation to a vector. |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |
See Also
Reference
Short2 Structure
Microsoft.Xna.Framework.Graphics.PackedVector Namespace