Vector4

Felsorolások

Vector4 egy egyespontos, 4 komponensű vektor, amelyet vezérlőpontok (homogén csúcspontpozíciók), normál adatok és színértékek tárolására használnak. A W komponens általában 1.0f standard kartéziánus pozíciókhoz.

var point = new Vector4(1.0f, 2.0f, 3.0f, 1.0f);

Felsorolások

NameTypeAccessDescription
LengthdoubleReadGets the length.
SignatureDescription
Vector4(vec: Vector3, w: double)Creates a new 4‑dimensional vector with the given x, y, z, and w components
Vector4(vec: Vector3)
Vector4(vec: FVector4)
Vector4(x: double, y: double, z: double)
Vector4(x: double, y: double, z: double, w: double)
Set(newX: double, newY: double, newZ: double)Updates the X, Y, and Z components of the vector
Set(newX: double, newY: double, newZ: double, newW: double)
Equals(obj: object)Determines whether another Vector4 has the same component values
GetHashCode()
ToString()
CompareTo(other: Vector4)Compares this vector with another Vector4 for ordering

Lásd még

 Magyar