public static void Write(this BinaryWriter binaryWriter, ByteVector4 value)
 {
     binaryWriter.Write(value.x);
     binaryWriter.Write(value.y);
     binaryWriter.Write(value.z);
     binaryWriter.Write(value.w);
 }
Ejemplo n.º 2
0
 public void WriteByteVector4(ByteVector4 value)
 {
     WriteByte(value.X);
     WriteByte(value.Y);
     WriteByte(value.Z);
     WriteByte(value.W);
 }
Ejemplo n.º 3
0
 private void WriteByteVector4(ByteVector4 value)
 {
     WriteByte(value.X);
     WriteByte(value.Y);
     WriteByte(value.Z);
     WriteByte(value.W);
 }
Ejemplo n.º 4
0
 public static Vector4 ByteToAngle(this ByteVector4 vector)
 {
     return(new Vector4(
                (float)vector.X.ByteToAngle(),
                (float)vector.Y.ByteToAngle(),
                (float)vector.Z.ByteToAngle(),
                (float)vector.W.ByteToAngle()));
 }
Ejemplo n.º 5
0
 public UserByteVector4Property(string name, ByteVector4 value) : base(UserPropertyValueType.ByteVector4, name) => Value = value;