Color.Color Method (Microsoft.Xna.Framework)

Constructs an RGBA color from a packed value. The value is a 32-bit unsigned integer, with R in the least significant octet.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
[CLSCompliantAttribute(false)]
public Color(
	uint packedValue
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

packedValue
Type: System.UInt32
The packed value.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web