Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.Base27Directions

Morten Aune Lyrstad edited this page Apr 16, 2022 · 43 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
$1static Vector3$1] Directions](VRageMath.Base27Directions.Directions)
$1static Vector3I$1] DirectionsInt](VRageMath.Base27Directions.DirectionsInt)

Constructors

Member Description
$1Base27Directions()](VRageMath.Base27Directions..ctor)

Methods

Member Description
$1static Direction GetDirection(Vector3)](VRageMath.Base27Directions.GetDirection) Vector must be normalized, allowed values for components are: 0, 1, -1, 0.707, -0.707, 0.577, -0.577
$1static Direction GetDirection(Vector3I)](VRageMath.Base27Directions.GetDirection)
$1static Direction GetDirection(ref Vector3)](VRageMath.Base27Directions.GetDirection)
$1static Direction GetDirection(ref Vector3I)](VRageMath.Base27Directions.GetDirection)
$1static Direction GetForward(ref Quaternion)](VRageMath.Base27Directions.GetForward)
$1static Direction GetUp(ref Quaternion)](VRageMath.Base27Directions.GetUp)
$1static Vector3 GetVector(int)](VRageMath.Base27Directions.GetVector)
$1static Vector3 GetVector(Direction)](VRageMath.Base27Directions.GetVector)
$1static Vector3I GetVectorInt(int)](VRageMath.Base27Directions.GetVectorInt)
$1static Vector3I GetVectorInt(Direction)](VRageMath.Base27Directions.GetVectorInt)
$1static bool IsBaseDirection(ref Vector3)](VRageMath.Base27Directions.IsBaseDirection)
$1static bool IsBaseDirection(ref Vector3I)](VRageMath.Base27Directions.IsBaseDirection)
$1static bool IsBaseDirection(Vector3)](VRageMath.Base27Directions.IsBaseDirection)
Clone this wiki locally