This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.Base27Directions
Morten Aune Lyrstad edited this page Apr 16, 2022
·
44 revisions
← Index ← Namespace Index
public class Base27DirectionsBase 26 directions and Vector3.Zero Each component is only 0,-1 or 1;
Namespace: VRageMath
Assembly: VRage.Math.dll
| Member | Description |
|---|---|
| \static Vector3\[] Directions | |
| \static Vector3I\[] DirectionsInt |
| Member | Description |
|---|---|
| \Base27Directions() |
| Member | Description |
|---|---|
| \static Direction GetDirection(Vector3) | Vector must be normalized, allowed values for components are: 0, 1, -1, 0.707, -0.707, 0.577, -0.577 |
| \static Direction GetDirection(Vector3I) | |
| \static Direction GetDirection(ref Vector3) | |
| \static Direction GetDirection(ref Vector3I) | |
| \static Direction GetForward(ref Quaternion) | |
| \static Direction GetUp(ref Quaternion) | |
| \static Vector3 GetVector(int) | |
| \static Vector3 GetVector(Direction) | |
| \static Vector3I GetVectorInt(int) | |
| \static Vector3I GetVectorInt(Direction) | |
| \static bool IsBaseDirection(ref Vector3) | |
| \static bool IsBaseDirection(ref Vector3I) | |
| \static bool IsBaseDirection(Vector3) |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!