Returns the Vector3 vector component.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public static float GetVector3Coordinate(
	Vector3 value,
	int i
)

Parameters

value
Type: Vector3
Source Vector3 vector.
i
Type: System..::.Int32
Vector component number, 0 to 2.
Value 0 corresponds to the X component.
Value 1 corresponds to the Y component.
Value 2 corresponds to the Z component.

Return Value

Returns the Vector3 vector component.

See Also