Rgba32 Constructor (Vector4)

Initializes a new instance of the Rgba32 structure.

Namespace: Microsoft.Xna.Framework.Graphics.PackedVector
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public Rgba32 (
         Vector4 vector
)

Parameters

  • vector
    A vector containing the initial values for the components of the Rgba32 structure.

See Also

Reference

Rgba32 Structure
Rgba32 Members
Microsoft.Xna.Framework.Graphics.PackedVector Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista