Share via


IPackedVector Interface

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

Interface that converts packed vector types to and from Vector4 values, allowing multiple encodings to be manipulated in a generic way.

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

Syntax

'Declaration
Public Interface IPackedVector
public interface IPackedVector

The IPackedVector type exposes the following members.

Methods

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

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.