MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / ReadVector4

Method ReadVector4

Source/Engine/Utilities/Utils.cs:409–412  ·  view source on GitHub ↗

Reads the Vector4 from the binary stream. The stream. The value.

(this BinaryReader stream)

Source from the content-addressed store, hash-verified

407 /// <param name="stream">The stream.</param>
408 /// <returns>The value.</returns>
409 public static Vector4 ReadVector4(this BinaryReader stream)
410 {
411 return new Vector4(stream.ReadSingle(), stream.ReadSingle(), stream.ReadSingle(), stream.ReadSingle());
412 }
413
414 /// <summary>
415 /// Reads the Vector2 from the binary stream.

Callers

nothing calls this directly

Calls 2

ReadSingleMethod · 0.45
ReadDoubleMethod · 0.45

Tested by

no test coverage detected