Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
Engine.Vector3
类 Engine.Vector3 继承关系图:
Engine.Vector3 的协作图:

Public 成员函数

 Vector3 (float v)
 Vector3 (float x, float y, float z)
 Vector3 (Vector2 xy, float z)
 Vector3 (Point3 p)
 Vector3 (Color c)
override bool Equals (object obj)
override int GetHashCode ()
override string ToString ()
bool Equals (Vector3 other)
float Length ()
float LengthSquared ()
Vector3 FixNaN ()
unsafe Span< float > AsSpan ()
unsafe float * AsPointer ()

静态 Public 成员函数

static implicit operator Vector3 ((float X, float Y, float Z) v)
static float Distance (Vector3 v1, Vector3 v2)
static float DistanceSquared (Vector3 v1, Vector3 v2)
static float Dot (Vector3 v1, Vector3 v2)
static Vector3 Cross (Vector3 v1, Vector3 v2)
static Vector3 Floor (Vector3 v)
static Vector3 Ceiling (Vector3 v)
static Vector3 Round (Vector3 v)
static Vector3 Min (Vector3 v, float f)
static Vector3 Min (Vector3 v1, Vector3 v2)
static Vector3 Max (Vector3 v, float f)
static Vector3 Max (Vector3 v1, Vector3 v2)
static Vector3 Clamp (Vector3 v, float min, float max)
static Vector3 Saturate (Vector3 v)
static Vector3 Lerp (Vector3 v1, Vector3 v2, float f)
static Vector3 CatmullRom (Vector3 v1, Vector3 v2, Vector3 v3, Vector3 v4, float f)
static Vector3 Normalize (Vector3 v)
static Vector3 LimitLength (Vector3 v, float maxLength)
static Vector3 Transform (Vector3 v, Matrix m)
static void Transform (ref Vector3 v, ref Matrix m, out Vector3 result)
static Vector3 Transform (Vector3 v, Quaternion q)
static void Transform (ref Vector3 v, ref Quaternion q, out Vector3 result)
static void Transform (Vector3[] sourceArray, int sourceIndex, ref Matrix m, Vector3[] destinationArray, int destinationIndex, int count)
static Vector3 TransformNormal (Vector3 v, Matrix m)
static void TransformNormal (ref Vector3 v, ref Matrix m, out Vector3 result)
static void TransformNormal (Vector3[] sourceArray, int sourceIndex, ref Matrix m, Vector3[] destinationArray, int destinationIndex, int count)
static bool operator== (Vector3 v1, Vector3 v2)
static bool operator!= (Vector3 v1, Vector3 v2)
static Vector3 operator+ (Vector3 v)
static Vector3 operator- (Vector3 v)
static Vector3 operator+ (Vector3 v1, Vector3 v2)
static Vector3 operator- (Vector3 v1, Vector3 v2)
static Vector3 operator* (Vector3 v1, Vector3 v2)
static Vector3 operator* (Vector3 v, float s)
static Vector3 operator* (float s, Vector3 v)
static Vector3 operator/ (Vector3 v1, Vector3 v2)
static Vector3 operator/ (Vector3 v, float d)
static Vector3 FixNaN (Vector3 v)

Public 属性

float X
float Y
float Z

静态 Public 属性

static readonly Vector3 Zero = new(0f)
static readonly Vector3 One = new(1f)
static readonly Vector3 UnitX = new(1f, 0f, 0f)
static readonly Vector3 UnitY = new(0f, 1f, 0f)
static readonly Vector3 UnitZ = new(0f, 0f, 1f)

属性

Vector2 XY [get, set]
Vector2 YX [get, set]
Vector2 XZ [get, set]
Vector2 ZX [get, set]
Vector2 YZ [get, set]
Vector2 ZY [get, set]

详细描述

在文件 Vector3.cs2 行定义.

构造及析构函数说明

◆ Vector3() [1/5]

Engine.Vector3.Vector3 ( float v)

在文件 Vector3.cs67 行定义.

这是这个函数的调用关系图:

◆ Vector3() [2/5]

Engine.Vector3.Vector3 ( float x,
float y,
float z )

在文件 Vector3.cs73 行定义.

◆ Vector3() [3/5]

Engine.Vector3.Vector3 ( Vector2 xy,
float z )

在文件 Vector3.cs79 行定义.

◆ Vector3() [4/5]

Engine.Vector3.Vector3 ( Point3 p)

在文件 Vector3.cs85 行定义.

◆ Vector3() [5/5]

Engine.Vector3.Vector3 ( Color c)

在文件 Vector3.cs91 行定义.

成员函数说明

◆ AsPointer()

unsafe float * Engine.Vector3.AsPointer ( )

在文件 Vector3.cs321 行定义.

◆ AsSpan()

unsafe Span< float > Engine.Vector3.AsSpan ( )

在文件 Vector3.cs315 行定义.

◆ CatmullRom()

Vector3 Engine.Vector3.CatmullRom ( Vector3 v1,
Vector3 v2,
Vector3 v3,
Vector3 v4,
float f )
static

在文件 Vector3.cs148 行定义.

函数调用图:

◆ Ceiling()

Vector3 Engine.Vector3.Ceiling ( Vector3 v)
static

在文件 Vector3.cs122 行定义.

函数调用图:

◆ Clamp()

Vector3 Engine.Vector3.Clamp ( Vector3 v,
float min,
float max )
static

在文件 Vector3.cs134 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Cross()

Vector3 Engine.Vector3.Cross ( Vector3 v1,
Vector3 v2 )
static

在文件 Vector3.cs114 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Distance()

float Engine.Vector3.Distance ( Vector3 v1,
Vector3 v2 )
static

在文件 Vector3.cs107 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ DistanceSquared()

float Engine.Vector3.DistanceSquared ( Vector3 v1,
Vector3 v2 )
static

在文件 Vector3.cs109 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Dot()

float Engine.Vector3.Dot ( Vector3 v1,
Vector3 v2 )
static

在文件 Vector3.cs112 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Equals() [1/2]

override bool Engine.Vector3.Equals ( object obj)

在文件 Vector3.cs99 行定义.

函数调用图:

◆ Equals() [2/2]

bool Engine.Vector3.Equals ( Vector3 other)

在文件 Vector3.cs105 行定义.

函数调用图:

◆ FixNaN() [1/2]

Vector3 Engine.Vector3.FixNaN ( )

在文件 Vector3.cs302 行定义.

函数调用图:

◆ FixNaN() [2/2]

Vector3 Engine.Vector3.FixNaN ( Vector3 v)
static

在文件 Vector3.cs289 行定义.

函数调用图:

◆ Floor()

Vector3 Engine.Vector3.Floor ( Vector3 v)
static

在文件 Vector3.cs120 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ GetHashCode()

override int Engine.Vector3.GetHashCode ( )

在文件 Vector3.cs101 行定义.

这是这个函数的调用关系图:

◆ Length()

float Engine.Vector3.Length ( )

在文件 Vector3.cs116 行定义.

这是这个函数的调用关系图:

◆ LengthSquared()

float Engine.Vector3.LengthSquared ( )

在文件 Vector3.cs118 行定义.

这是这个函数的调用关系图:

◆ Lerp()

Vector3 Engine.Vector3.Lerp ( Vector3 v1,
Vector3 v2,
float f )
static

在文件 Vector3.cs142 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ LimitLength()

Vector3 Engine.Vector3.LimitLength ( Vector3 v,
float maxLength )
static

在文件 Vector3.cs159 行定义.

函数调用图:

◆ Max() [1/2]

Vector3 Engine.Vector3.Max ( Vector3 v,
float f )
static

在文件 Vector3.cs130 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Max() [2/2]

Vector3 Engine.Vector3.Max ( Vector3 v1,
Vector3 v2 )
static

在文件 Vector3.cs132 行定义.

函数调用图:

◆ Min() [1/2]

Vector3 Engine.Vector3.Min ( Vector3 v,
float f )
static

在文件 Vector3.cs126 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Min() [2/2]

Vector3 Engine.Vector3.Min ( Vector3 v1,
Vector3 v2 )
static

在文件 Vector3.cs128 行定义.

函数调用图:

◆ Normalize()

Vector3 Engine.Vector3.Normalize ( Vector3 v)
static

在文件 Vector3.cs154 行定义.

函数调用图:

◆ operator Vector3()

implicit Engine.Vector3.operator Vector3 ( (float X, float Y, float Z) v)
static

在文件 Vector3.cs97 行定义.

◆ operator!=()

bool Engine.Vector3.operator!= ( Vector3 v1,
Vector3 v2 )
static

在文件 Vector3.cs266 行定义.

函数调用图:

◆ operator*() [1/3]

Vector3 Engine.Vector3.operator* ( float s,
Vector3 v )
static

在文件 Vector3.cs280 行定义.

函数调用图:

◆ operator*() [2/3]

Vector3 Engine.Vector3.operator* ( Vector3 v,
float s )
static

在文件 Vector3.cs278 行定义.

函数调用图:

◆ operator*() [3/3]

Vector3 Engine.Vector3.operator* ( Vector3 v1,
Vector3 v2 )
static

在文件 Vector3.cs276 行定义.

函数调用图:

◆ operator+() [1/2]

Vector3 Engine.Vector3.operator+ ( Vector3 v)
static

在文件 Vector3.cs268 行定义.

函数调用图:

◆ operator+() [2/2]

Vector3 Engine.Vector3.operator+ ( Vector3 v1,
Vector3 v2 )
static

在文件 Vector3.cs272 行定义.

函数调用图:

◆ operator-() [1/2]

Vector3 Engine.Vector3.operator- ( Vector3 v)
static

在文件 Vector3.cs270 行定义.

函数调用图:

◆ operator-() [2/2]

Vector3 Engine.Vector3.operator- ( Vector3 v1,
Vector3 v2 )
static

在文件 Vector3.cs274 行定义.

函数调用图:

◆ operator/() [1/2]

Vector3 Engine.Vector3.operator/ ( Vector3 v,
float d )
static

在文件 Vector3.cs284 行定义.

函数调用图:

◆ operator/() [2/2]

Vector3 Engine.Vector3.operator/ ( Vector3 v1,
Vector3 v2 )
static

在文件 Vector3.cs282 行定义.

函数调用图:

◆ operator==()

bool Engine.Vector3.operator== ( Vector3 v1,
Vector3 v2 )
static

在文件 Vector3.cs264 行定义.

函数调用图:

◆ Round()

Vector3 Engine.Vector3.Round ( Vector3 v)
static

在文件 Vector3.cs124 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Saturate()

Vector3 Engine.Vector3.Saturate ( Vector3 v)
static

在文件 Vector3.cs140 行定义.

函数调用图:

◆ ToString()

override string Engine.Vector3.ToString ( )

在文件 Vector3.cs103 行定义.

这是这个函数的调用关系图:

◆ Transform() [1/5]

void Engine.Vector3.Transform ( ref Vector3 v,
ref Matrix m,
out Vector3 result )
static

在文件 Vector3.cs170 行定义.

函数调用图:

◆ Transform() [2/5]

void Engine.Vector3.Transform ( ref Vector3 v,
ref Quaternion q,
out Vector3 result )
static

在文件 Vector3.cs198 行定义.

函数调用图:

◆ Transform() [3/5]

Vector3 Engine.Vector3.Transform ( Vector3 v,
Matrix m )
static

在文件 Vector3.cs164 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Transform() [4/5]

Vector3 Engine.Vector3.Transform ( Vector3 v,
Quaternion q )
static

在文件 Vector3.cs178 行定义.

函数调用图:

◆ Transform() [5/5]

void Engine.Vector3.Transform ( Vector3[] sourceArray,
int sourceIndex,
ref Matrix m,
Vector3[] destinationArray,
int destinationIndex,
int count )
static

在文件 Vector3.cs218 行定义.

函数调用图:

◆ TransformNormal() [1/3]

void Engine.Vector3.TransformNormal ( ref Vector3 v,
ref Matrix m,
out Vector3 result )
static

在文件 Vector3.cs240 行定义.

函数调用图:

◆ TransformNormal() [2/3]

Vector3 Engine.Vector3.TransformNormal ( Vector3 v,
Matrix m )
static

在文件 Vector3.cs234 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ TransformNormal() [3/3]

void Engine.Vector3.TransformNormal ( Vector3[] sourceArray,
int sourceIndex,
ref Matrix m,
Vector3[] destinationArray,
int destinationIndex,
int count )
static

在文件 Vector3.cs248 行定义.

函数调用图:

类成员变量说明

◆ One

readonly Vector3 Engine.Vector3.One = new(1f)
static

在文件 Vector3.cs11 行定义.

◆ UnitX

readonly Vector3 Engine.Vector3.UnitX = new(1f, 0f, 0f)
static

在文件 Vector3.cs13 行定义.

◆ UnitY

readonly Vector3 Engine.Vector3.UnitY = new(0f, 1f, 0f)
static

在文件 Vector3.cs15 行定义.

◆ UnitZ

readonly Vector3 Engine.Vector3.UnitZ = new(0f, 0f, 1f)
static

在文件 Vector3.cs17 行定义.

◆ X

float Engine.Vector3.X

在文件 Vector3.cs3 行定义.

◆ Y

float Engine.Vector3.Y

在文件 Vector3.cs5 行定义.

◆ Z

float Engine.Vector3.Z

在文件 Vector3.cs7 行定义.

◆ Zero

readonly Vector3 Engine.Vector3.Zero = new(0f)
static

在文件 Vector3.cs9 行定义.

属性说明

◆ XY

Vector2 Engine.Vector3.XY
getset

在文件 Vector3.cs19 行定义.

◆ XZ

Vector2 Engine.Vector3.XZ
getset

在文件 Vector3.cs35 行定义.

◆ YX

Vector2 Engine.Vector3.YX
getset

在文件 Vector3.cs27 行定义.

◆ YZ

Vector2 Engine.Vector3.YZ
getset

在文件 Vector3.cs51 行定义.

◆ ZX

Vector2 Engine.Vector3.ZX
getset

在文件 Vector3.cs43 行定义.

◆ ZY

Vector2 Engine.Vector3.ZY
getset

在文件 Vector3.cs59 行定义.


该结构体的文档由以下文件生成:
  • E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Engine/Engine/Vector3.cs