Export (0) Print
Expand All

NormalizedShort2 Structure

Packed vector type containing two 16-bit signed normalized values, ranging from −1 to 1.

Namespace:  Microsoft.Xna.Framework.Graphics.PackedVector
Assembly:  Microsoft.Xna.Framework.Math (in Microsoft.Xna.Framework.Math.dll)

public struct NormalizedShort2 : IPackedVector<uint>, 
	IPackedVector

The NormalizedShort2 type exposes the following members.

  NameDescription
Public methodNormalizedShort2(Vector2)Initializes a new instance of the NormalizedShort2 structure.
Public methodNormalizedShort2(Single, Single)Initializes a new instance of the NormalizedShort2 structure.
Top

  NameDescription
Public propertyPackedValueDirectly gets or sets the packed representation of the value.
Top

  NameDescription
Public methodEquals(Object)Returns a value that indicates whether the current instance is equal to a specified object. (Overrides ValueType.Equals(Object).)
Public methodEquals(NormalizedShort2)Returns a value that indicates whether the current instance is equal to a specified object.
Public methodGetHashCodeGets the hash code for the current instance. (Overrides ValueType.GetHashCode().)
Public methodToStringReturns a string representation of the current instance. (Overrides ValueType.ToString().)
Public methodToVector2Expands the packed representation to a vector.
Top

  NameDescription
Public operatorStatic memberEqualityCompares the current instance of a class to another instance to determine whether they are the same.
Public operatorStatic memberInequalityCompares the current instance of a class to another instance to determine whether they are different.
Top

  NameDescription
Explicit interface implemetationPrivate methodIPackedVector.PackFromVector4Sets the packed representation from a Vector4.
Explicit interface implemetationPrivate methodIPackedVector.ToVector4Expands the packed representation into a Vector4.
Top

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft