Vector3.getYX()
Instance method on Vector3.
Description
- Returns a Vector2 with the Y and X components of this Vector3. |
Method Signature
getYX()
Mathematical Definition
Component-wise or runtime-defined transformation based on overload.
Parameters
- None.
Returns
Vector2: returned by overloads of this method.
Mutability
- Does not modify the current vector unless explicitly using a
Local/Equalvariant.
Edge Cases
- Zero vectors can produce degenerate outputs for geometric methods.
NaNandInfinityinputs propagate according to IEEE-754 floating-point behavior.- Repeated operations may accumulate floating-point precision error.
Usage Example
Vector3 a = new Vector3(1f, 2f, 3f);
// Call the method according to your overload requirements.
// Example:
// a.getYX(...);
Mathematical Example
Example input/output depends on overload; for vector arithmetic operations this is typically computed per-component.