Namespace: Rx.Net – Class: Vector4D – Assembly: Rx.Net

Vector4D.FromRGBA Static Method

C#
public static Vector4D FromRGBA(int iRed, int iGreen, int iBlue, int iAlpha)

Creates a color from the given RGBA values. The possible value range is 0 - 255.

Parameters

[int] iRed

The red value.

[int] iGreen

The green value.

[int] iBlue

The blue value.

[int] iAlpha

The green value.

Returns

Vector4D

The color.