ILNumerics Ultimate VS

ExtensionMethodsToVector4 Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Converts this color to a Vector4 objec.

[ILNumerics Visualization Engine]

Namespace:  ILNumerics.Drawing
Assembly:  ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax

public static Vector4 ToVector4(
	this Color color
)

Parameters

color
Type: System.DrawingColor
The color to convert.

Return Value

Type: Vector4
New Vector4 with the R,G,B and A components of color in range 0...1.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Color. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks

[ILNumerics Visualization Engine]

See Also

Reference