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.cs2 行定义.

构造及析构函数说明

◆ Vector4() [1/4]

Engine.Vector4.Vector4 ( float v)

在文件 Vector4.cs23 行定义.

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

◆ Vector4() [2/4]

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

在文件 Vector4.cs30 行定义.

◆ Vector4() [3/4]

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

在文件 Vector4.cs37 行定义.

◆ Vector4() [4/4]

Engine.Vector4.Vector4 ( Color c)

在文件 Vector4.cs44 行定义.

成员函数说明

◆ AsPointer()

unsafe float * Engine.Vector4.AsPointer ( )

在文件 Vector4.cs230 行定义.

◆ AsSpan()

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

在文件 Vector4.cs224 行定义.

◆ CatmullRom()

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

在文件 Vector4.cs117 行定义.

函数调用图:

◆ Ceiling()

Vector4 Engine.Vector4.Ceiling ( Vector4 v)
static

在文件 Vector4.cs74 行定义.

函数调用图:

◆ Clamp()

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

在文件 Vector4.cs96 行定义.

函数调用图:

◆ Distance()

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

在文件 Vector4.cs61 行定义.

函数调用图:

◆ DistanceSquared()

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

在文件 Vector4.cs63 行定义.

函数调用图:

◆ Dot()

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

在文件 Vector4.cs66 行定义.

函数调用图:

◆ Equals() [1/2]

override bool Engine.Vector4.Equals ( object obj)

在文件 Vector4.cs53 行定义.

函数调用图:

◆ Equals() [2/2]

bool Engine.Vector4.Equals ( Vector4 other)

在文件 Vector4.cs59 行定义.

函数调用图:

◆ FixNaN() [1/2]

Vector4 Engine.Vector4.FixNaN ( )

在文件 Vector4.cs208 行定义.

函数调用图:

◆ FixNaN() [2/2]

Vector4 Engine.Vector4.FixNaN ( Vector4 v)
static

在文件 Vector4.cs192 行定义.

函数调用图:

◆ Floor()

Vector4 Engine.Vector4.Floor ( Vector4 v)
static

在文件 Vector4.cs72 行定义.

函数调用图:

◆ GetHashCode()

override int Engine.Vector4.GetHashCode ( )

在文件 Vector4.cs55 行定义.

◆ Length()

float Engine.Vector4.Length ( )

在文件 Vector4.cs68 行定义.

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

◆ LengthSquared()

float Engine.Vector4.LengthSquared ( )

在文件 Vector4.cs70 行定义.

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

◆ Lerp()

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

在文件 Vector4.cs110 行定义.

函数调用图:

◆ LimitLength()

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

在文件 Vector4.cs129 行定义.

函数调用图:

◆ Max() [1/2]

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

在文件 Vector4.cs87 行定义.

函数调用图:

◆ Max() [2/2]

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

在文件 Vector4.cs89 行定义.

函数调用图:

◆ Min() [1/2]

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

在文件 Vector4.cs78 行定义.

函数调用图:

◆ Min() [2/2]

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

在文件 Vector4.cs80 行定义.

函数调用图:

◆ Normalize()

Vector4 Engine.Vector4.Normalize ( Vector4 v)
static

在文件 Vector4.cs124 行定义.

函数调用图:

◆ operator Vector4()

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

在文件 Vector4.cs51 行定义.

◆ operator!=()

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

在文件 Vector4.cs169 行定义.

函数调用图:

◆ operator*() [1/3]

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

在文件 Vector4.cs183 行定义.

函数调用图:

◆ operator*() [2/3]

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

在文件 Vector4.cs181 行定义.

函数调用图:

◆ operator*() [3/3]

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

在文件 Vector4.cs179 行定义.

函数调用图:

◆ operator+() [1/2]

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

在文件 Vector4.cs171 行定义.

函数调用图:

◆ operator+() [2/2]

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

在文件 Vector4.cs175 行定义.

函数调用图:

◆ operator-() [1/2]

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

在文件 Vector4.cs173 行定义.

函数调用图:

◆ operator-() [2/2]

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

在文件 Vector4.cs177 行定义.

函数调用图:

◆ operator/() [1/2]

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

在文件 Vector4.cs187 行定义.

函数调用图:

◆ operator/() [2/2]

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

在文件 Vector4.cs185 行定义.

函数调用图:

◆ operator==()

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

在文件 Vector4.cs167 行定义.

函数调用图:

◆ Round()

Vector4 Engine.Vector4.Round ( Vector4 v)
static

在文件 Vector4.cs76 行定义.

函数调用图:

◆ Saturate()

Vector4 Engine.Vector4.Saturate ( Vector4 v)
static

在文件 Vector4.cs103 行定义.

函数调用图:

◆ ToString()

override string Engine.Vector4.ToString ( )

在文件 Vector4.cs57 行定义.

◆ Transform() [1/3]

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

在文件 Vector4.cs141 行定义.

函数调用图:

◆ Transform() [2/3]

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

在文件 Vector4.cs134 行定义.

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

◆ Transform() [3/3]

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

在文件 Vector4.cs150 行定义.

函数调用图:

类成员变量说明

◆ One

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

在文件 Vector4.cs13 行定义.

◆ UnitW

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

在文件 Vector4.cs21 行定义.

◆ UnitX

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

在文件 Vector4.cs15 行定义.

◆ UnitY

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

在文件 Vector4.cs17 行定义.

◆ UnitZ

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

在文件 Vector4.cs19 行定义.

◆ W

float Engine.Vector4.W

在文件 Vector4.cs9 行定义.

◆ X

float Engine.Vector4.X

在文件 Vector4.cs3 行定义.

◆ Y

float Engine.Vector4.Y

在文件 Vector4.cs5 行定义.

◆ Z

float Engine.Vector4.Z

在文件 Vector4.cs7 行定义.

◆ Zero

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

在文件 Vector4.cs11 行定义.

属性说明

◆ XW

Vector2 Engine.Vector4.XW
get

在文件 Vector4.cs238 行定义.

◆ XY

Vector2 Engine.Vector4.XY
get

在文件 Vector4.cs236 行定义.

◆ XYW

Vector3 Engine.Vector4.XYW
get

在文件 Vector4.cs243 行定义.

◆ XYZ

Vector3 Engine.Vector4.XYZ
get

在文件 Vector4.cs242 行定义.

◆ XZ

Vector2 Engine.Vector4.XZ
get

在文件 Vector4.cs237 行定义.

◆ XZW

Vector3 Engine.Vector4.XZW
get

在文件 Vector4.cs244 行定义.

◆ YW

Vector2 Engine.Vector4.YW
get

在文件 Vector4.cs240 行定义.

◆ YZ

Vector2 Engine.Vector4.YZ
get

在文件 Vector4.cs239 行定义.

◆ YZW

Vector3 Engine.Vector4.YZW
get

在文件 Vector4.cs245 行定义.

◆ ZW

Vector2 Engine.Vector4.ZW
get

在文件 Vector4.cs241 行定义.


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