Click or drag to resize

Vector4Item Property

Gets or sets the component at the specified index.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2022.1.1.0 (2022.1.1.0)
Syntax
C#
public double this[
	int index
] { get; set; }

Parameters

index
Type: SystemInt32
The index of the component to access. Use 0 for the X component, 1 for the Y component, 2 for the Z component, and 3 for the W component.

Property Value

Type: Double
The value of the X, Y, Z, or W component, depending on the index.

Return Value

Type: Double
The value of the component at the specified index.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown when the index is out of the range [0, 3].
See Also