Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRageMath.Base27Directions

Morten Aune Lyrstad edited this page Apr 16, 2022 · 44 revisions

IndexNamespace Index

Base27Directions Class

public class Base27Directions

Base 26 directions and Vector3.Zero Each component is only 0,-1 or 1;

Namespace: VRageMath
Assembly: VRage.Math.dll

Fields

Member Description
[static Vector3[] Directions](VRageMath.Base27Directions.Directions)
[static Vector3I[] DirectionsInt](VRageMath.Base27Directions.DirectionsInt)

Constructors

Member Description
Base27Directions()

Methods

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)

Clone this wiki locally