IPackedVector<TPacked> Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Converts packed vector types to and from Vector4 values.

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

Syntax

'Declaration
Public Interface IPackedVector(Of TPacked) _
    Inherits IPackedVector
public interface IPackedVector<TPacked> : IPackedVector

Type Parameters

  • TPacked
    The type of the packed vector.

The IPackedVector<TPacked> type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method PackFromVector4 Sets the packed representation from a Vector4. (Inherited from IPackedVector.)
Public method ToVector4 Expands the packed representation into a Vector4. (Inherited from IPackedVector.)

Top

Version Information

Silverlight

Supported in: 5

Platforms

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