Table of Contents

Interface IPackedVector

Namespace
Microsoft.Xna.Framework.Graphics.PackedVector
Assembly
MonoGame.Framework.dll

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

public interface IPackedVector

Methods

PackFromVector4(Vector4)

Sets the packed representation from a Vector4.

void PackFromVector4(Vector4 vector)

Parameters

vector Vector4

The Vector4 to create the packed representation from.

ToVector4()

Expands the packed representation into a Vector4.

Vector4 ToVector4()

Returns

Vector4

The expanded Vector4.