My Project v1
Project
载入中...
搜索中...
未找到
Game.CellFace
类 Game.CellFace 继承关系图:
Game.CellFace 的协作图:

Public 成员函数

 CellFace (int x, int y, int z, int face)
 
Plane CalculatePlane ()
 
override int GetHashCode ()
 
override bool Equals (object obj)
 
bool Equals (CellFace other)
 
override string ToString ()
 

静态 Public 成员函数

static int OppositeFace (int face)
 
static Point3 FaceToPoint3 (int face)
 
static Vector3 FaceToVector3 (int face)
 
static int Point3ToFace (Point3 p, int maxFace=5)
 
static int Vector3ToFace (Vector3 v, int maxFace=5)
 
static CellFace FromAxisAndDirection (int x, int y, int z, int axis, float direction)
 
static bool operator== (CellFace c1, CellFace c2)
 
static bool operator!= (CellFace c1, CellFace c2)
 

Public 属性

int X
 
int Y
 
int Z
 
int Face
 

静态 Public 属性

static readonly int[] m_oppositeFaces
 
static readonly Point3[] m_faceToPoint3
 
static readonly Vector3[] m_faceToVector3
 

属性

Point3 Point [get, set]
 

构造及析构函数说明

◆ CellFace()

Game.CellFace.CellFace ( int x,
int y,
int z,
int face )
这是这个函数的调用关系图:

成员函数说明

◆ CalculatePlane()

Plane Game.CellFace.CalculatePlane ( )
这是这个函数的调用关系图:

◆ Equals() [1/2]

bool Game.CellFace.Equals ( CellFace other)

◆ Equals() [2/2]

override bool Game.CellFace.Equals ( object obj)
函数调用图:
这是这个函数的调用关系图:

◆ FaceToPoint3()

static Point3 Game.CellFace.FaceToPoint3 ( int face)
static
这是这个函数的调用关系图:

◆ FaceToVector3()

static Vector3 Game.CellFace.FaceToVector3 ( int face)
static
这是这个函数的调用关系图:

◆ FromAxisAndDirection()

static CellFace Game.CellFace.FromAxisAndDirection ( int x,
int y,
int z,
int axis,
float direction )
static
这是这个函数的调用关系图:

◆ GetHashCode()

override int Game.CellFace.GetHashCode ( )

◆ operator!=()

static bool Game.CellFace.operator!= ( CellFace c1,
CellFace c2 )
static
函数调用图:

◆ operator==()

static bool Game.CellFace.operator== ( CellFace c1,
CellFace c2 )
static
函数调用图:

◆ OppositeFace()

static int Game.CellFace.OppositeFace ( int face)
static
这是这个函数的调用关系图:

◆ Point3ToFace()

static int Game.CellFace.Point3ToFace ( Point3 p,
int maxFace = 5 )
static
这是这个函数的调用关系图:

◆ ToString()

override string Game.CellFace.ToString ( )

◆ Vector3ToFace()

static int Game.CellFace.Vector3ToFace ( Vector3 v,
int maxFace = 5 )
static
这是这个函数的调用关系图:

类成员变量说明

◆ Face

int Game.CellFace.Face

◆ m_faceToPoint3

readonly Point3 [] Game.CellFace.m_faceToPoint3
static
初始值:
= new Point3[6]
{
new(0, 0, 1),
new(1, 0, 0),
new(0, 0, -1),
new(-1, 0, 0),
new(0, 1, 0),
new(0, -1, 0)
}

◆ m_faceToVector3

readonly Vector3 [] Game.CellFace.m_faceToVector3
static
初始值:
= new Vector3[6]
{
new(0f, 0f, 1f),
new(1f, 0f, 0f),
new(0f, 0f, -1f),
new(-1f, 0f, 0f),
new(0f, 1f, 0f),
new(0f, -1f, 0f)
}
Engine.Vector3 Vector3
定义 SubsystemAudio.cs:6

◆ m_oppositeFaces

readonly int [] Game.CellFace.m_oppositeFaces
static
初始值:
= new int[6]
{
2,
3,
0,
1,
5,
4
}

◆ X

int Game.CellFace.X

◆ Y

int Game.CellFace.Y

◆ Z

int Game.CellFace.Z

属性说明

◆ Point

Point3 Game.CellFace.Point
getset

该结构体的文档由以下文件生成: