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

Public 成员函数

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

静态 Public 成员函数

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

Public 属性

float X
float Y
float Z
float W

静态 Public 属性

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

属性

Vector2 XY [get]
Vector2 XZ [get]
Vector2 XW [get]
Vector2 YZ [get]
Vector2 YW [get]
Vector2 ZW [get]
Vector3 XYZ [get]
Vector3 XYW [get]
Vector3 XZW [get]
Vector3 YZW [get]

详细描述

在文件 Vector4.cs 第 2 行定义.

构造及析构函数说明

◆ Vector4() [1/4]

Engine.Vector4.Vector4 ( float v)

在文件 Vector4.cs 第 23 行定义.

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

◆ Vector4() [2/4]

Engine.Vector4.Vector4 ( float x,
float y,
float z,
float w )

在文件 Vector4.cs 第 30 行定义.

◆ Vector4() [3/4]

Engine.Vector4.Vector4 ( Vector3 xyz,
float w )

在文件 Vector4.cs 第 37 行定义.

◆ Vector4() [4/4]

Engine.Vector4.Vector4 ( Color c)

在文件 Vector4.cs 第 44 行定义.

成员函数说明

◆ AsPointer()

unsafe float * Engine.Vector4.AsPointer ( )

在文件 Vector4.cs 第 230 行定义.

◆ AsSpan()

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

在文件 Vector4.cs 第 224 行定义.

◆ CatmullRom()

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

在文件 Vector4.cs 第 117 行定义.

函数调用图:

◆ Ceiling()

Vector4 Engine.Vector4.Ceiling ( Vector4 v)
static

在文件 Vector4.cs 第 74 行定义.

函数调用图:

◆ Clamp()

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

在文件 Vector4.cs 第 96 行定义.

函数调用图:

◆ Distance()

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

在文件 Vector4.cs 第 61 行定义.

函数调用图:

◆ DistanceSquared()

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

在文件 Vector4.cs 第 63 行定义.

函数调用图:

◆ Dot()

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

在文件 Vector4.cs 第 66 行定义.

函数调用图:

◆ Equals() [1/2]

override bool Engine.Vector4.Equals ( object obj)

在文件 Vector4.cs 第 53 行定义.

函数调用图:

◆ Equals() [2/2]

bool Engine.Vector4.Equals ( Vector4 other)

在文件 Vector4.cs 第 59 行定义.

函数调用图:

◆ FixNaN() [1/2]

Vector4 Engine.Vector4.FixNaN ( )

在文件 Vector4.cs 第 208 行定义.

函数调用图:

◆ FixNaN() [2/2]

Vector4 Engine.Vector4.FixNaN ( Vector4 v)
static

在文件 Vector4.cs 第 192 行定义.

函数调用图:

◆ Floor()

Vector4 Engine.Vector4.Floor ( Vector4 v)
static

在文件 Vector4.cs 第 72 行定义.

函数调用图:

◆ GetHashCode()

override int Engine.Vector4.GetHashCode ( )

在文件 Vector4.cs 第 55 行定义.

◆ Length()

float Engine.Vector4.Length ( )

在文件 Vector4.cs 第 68 行定义.

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

◆ LengthSquared()

float Engine.Vector4.LengthSquared ( )

在文件 Vector4.cs 第 70 行定义.

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

◆ Lerp()

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

在文件 Vector4.cs 第 110 行定义.

函数调用图:

◆ LimitLength()

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

在文件 Vector4.cs 第 129 行定义.

函数调用图:

◆ Max() [1/2]

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

在文件 Vector4.cs 第 87 行定义.

函数调用图:

◆ Max() [2/2]

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

在文件 Vector4.cs 第 89 行定义.

函数调用图:

◆ Min() [1/2]

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

在文件 Vector4.cs 第 78 行定义.

函数调用图:

◆ Min() [2/2]

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

在文件 Vector4.cs 第 80 行定义.

函数调用图:

◆ Normalize()

Vector4 Engine.Vector4.Normalize ( Vector4 v)
static

在文件 Vector4.cs 第 124 行定义.

函数调用图:

◆ operator Vector4()

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

在文件 Vector4.cs 第 51 行定义.

◆ operator!=()

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

在文件 Vector4.cs 第 169 行定义.

函数调用图:

◆ operator*() [1/3]

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

在文件 Vector4.cs 第 183 行定义.

函数调用图:

◆ operator*() [2/3]

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

在文件 Vector4.cs 第 181 行定义.

函数调用图:

◆ operator*() [3/3]

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

在文件 Vector4.cs 第 179 行定义.

函数调用图:

◆ operator+() [1/2]

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

在文件 Vector4.cs 第 171 行定义.

函数调用图:

◆ operator+() [2/2]

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

在文件 Vector4.cs 第 175 行定义.

函数调用图:

◆ operator-() [1/2]

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

在文件 Vector4.cs 第 173 行定义.

函数调用图:

◆ operator-() [2/2]

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

在文件 Vector4.cs 第 177 行定义.

函数调用图:

◆ operator/() [1/2]

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

在文件 Vector4.cs 第 187 行定义.

函数调用图:

◆ operator/() [2/2]

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

在文件 Vector4.cs 第 185 行定义.

函数调用图:

◆ operator==()

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

在文件 Vector4.cs 第 167 行定义.

函数调用图:

◆ Round()

Vector4 Engine.Vector4.Round ( Vector4 v)
static

在文件 Vector4.cs 第 76 行定义.

函数调用图:

◆ Saturate()

Vector4 Engine.Vector4.Saturate ( Vector4 v)
static

在文件 Vector4.cs 第 103 行定义.

函数调用图:

◆ ToString()

override string Engine.Vector4.ToString ( )

在文件 Vector4.cs 第 57 行定义.

◆ Transform() [1/3]

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

在文件 Vector4.cs 第 141 行定义.

函数调用图:

◆ Transform() [2/3]

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

在文件 Vector4.cs 第 134 行定义.

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

◆ Transform() [3/3]

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

在文件 Vector4.cs 第 150 行定义.

函数调用图:

类成员变量说明

◆ One

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

在文件 Vector4.cs 第 13 行定义.

◆ UnitW

readonly Vector4 Engine.Vector4.UnitW = new(0f, 0f, 0f, 1f)
static

在文件 Vector4.cs 第 21 行定义.

◆ UnitX

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

在文件 Vector4.cs 第 15 行定义.

◆ UnitY

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

在文件 Vector4.cs 第 17 行定义.

◆ UnitZ

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

在文件 Vector4.cs 第 19 行定义.

◆ W

float Engine.Vector4.W

在文件 Vector4.cs 第 9 行定义.

◆ X

float Engine.Vector4.X

在文件 Vector4.cs 第 3 行定义.

◆ Y

float Engine.Vector4.Y

在文件 Vector4.cs 第 5 行定义.

◆ Z

float Engine.Vector4.Z

在文件 Vector4.cs 第 7 行定义.

◆ Zero

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

在文件 Vector4.cs 第 11 行定义.

属性说明

◆ XW

Vector2 Engine.Vector4.XW
get

在文件 Vector4.cs 第 238 行定义.

◆ XY

Vector2 Engine.Vector4.XY
get

在文件 Vector4.cs 第 236 行定义.

◆ XYW

Vector3 Engine.Vector4.XYW
get

在文件 Vector4.cs 第 243 行定义.

◆ XYZ

Vector3 Engine.Vector4.XYZ
get

在文件 Vector4.cs 第 242 行定义.

◆ XZ

Vector2 Engine.Vector4.XZ
get

在文件 Vector4.cs 第 237 行定义.

◆ XZW

Vector3 Engine.Vector4.XZW
get

在文件 Vector4.cs 第 244 行定义.

◆ YW

Vector2 Engine.Vector4.YW
get

在文件 Vector4.cs 第 240 行定义.

◆ YZ

Vector2 Engine.Vector4.YZ
get

在文件 Vector4.cs 第 239 行定义.

◆ YZW

Vector3 Engine.Vector4.YZW
get

在文件 Vector4.cs 第 245 行定义.

◆ ZW

Vector2 Engine.Vector4.ZW
get

在文件 Vector4.cs 第 241 行定义.


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