Click or drag to resize

AnglesFItem Property

Gets or sets the component at the specified index.

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

Parameters

index
Type: SystemInt32
The index of the component to access. Use 0 for the roll component, 1 for the pitch component, and 2 for the yaw component.

Property Value

Type: Single
The value of the roll, pitch, or yaw component, depending on the index.

Return Value

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