ILNumerics Ultimate VS

ExtensionMethodsToVector3 Method

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

[ILNumerics Visualization Engine]

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

public static Vector3 ToVector3(
	this Color color
)

Parameters

color
Type: System.DrawingColor
The color to convert.

Return Value

Type: Vector3
New Vector3 with the R,G, and B components 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