|
Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
|


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 行定义.
| Engine.Vector4.Vector4 | ( | float | v | ) |
| Engine.Vector4.Vector4 | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | w ) |
在文件 Vector4.cs 第 30 行定义.
| Engine.Vector4.Vector4 | ( | Vector3 | xyz, |
| float | w ) |
在文件 Vector4.cs 第 37 行定义.
| Engine.Vector4.Vector4 | ( | Color | c | ) |
在文件 Vector4.cs 第 44 行定义.
| unsafe float * Engine.Vector4.AsPointer | ( | ) |
在文件 Vector4.cs 第 230 行定义.
| unsafe Span< float > Engine.Vector4.AsSpan | ( | ) |
在文件 Vector4.cs 第 224 行定义.
| override bool Engine.Vector4.Equals | ( | object | obj | ) |
| bool Engine.Vector4.Equals | ( | Vector4 | other | ) |
| Vector4 Engine.Vector4.FixNaN | ( | ) |
| override int Engine.Vector4.GetHashCode | ( | ) |
在文件 Vector4.cs 第 55 行定义.
| float Engine.Vector4.Length | ( | ) |
| float Engine.Vector4.LengthSquared | ( | ) |
在文件 Vector4.cs 第 51 行定义.
| override string Engine.Vector4.ToString | ( | ) |
在文件 Vector4.cs 第 57 行定义.
|
static |
在文件 Vector4.cs 第 13 行定义.
|
static |
在文件 Vector4.cs 第 21 行定义.
|
static |
在文件 Vector4.cs 第 15 行定义.
|
static |
在文件 Vector4.cs 第 17 行定义.
|
static |
在文件 Vector4.cs 第 19 行定义.
| float Engine.Vector4.W |
在文件 Vector4.cs 第 9 行定义.
| float Engine.Vector4.X |
在文件 Vector4.cs 第 3 行定义.
| float Engine.Vector4.Y |
在文件 Vector4.cs 第 5 行定义.
| float Engine.Vector4.Z |
在文件 Vector4.cs 第 7 行定义.
|
static |
在文件 Vector4.cs 第 11 行定义.
|
get |
在文件 Vector4.cs 第 238 行定义.
|
get |
在文件 Vector4.cs 第 236 行定义.
|
get |
在文件 Vector4.cs 第 243 行定义.
|
get |
在文件 Vector4.cs 第 242 行定义.
|
get |
在文件 Vector4.cs 第 237 行定义.
|
get |
在文件 Vector4.cs 第 244 行定义.
|
get |
在文件 Vector4.cs 第 240 行定义.
|
get |
在文件 Vector4.cs 第 239 行定义.
|
get |
在文件 Vector4.cs 第 245 行定义.
|
get |
在文件 Vector4.cs 第 241 行定义.