Click or drag to resize
Ab4d.SharpEngine logo

Color3Item Property

Gets or sets the component at the specified index.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public float this[
	int index
] { get; set; }

Parameters

index  Int32
The index of the component to access. Use 0 for the red component, 1 for the green component, and 2 for the blue component.

Property Value

Single
The value of the red, green, or blue component, depending on the index.

Return Value

Single
The value of the component at the specified index.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown when the index is out of the range [0, 2].
Remarks

[Missing <remarks> documentation for "P:Ab4d.SharpEngine.Common.Color3.Item(System.Int32)"]

See Also