| GameLiftManagerGameControllerConvertByteArrayIntoVector Method |
Converts a byte array into a vector3 or 4 depending on the vector size sent
Namespace:
ASL
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax private Vector4 ConvertByteArrayIntoVector(
byte[] _payload,
int _vectorStartLocation,
int _vectorSize
)
Private Function ConvertByteArrayIntoVector (
_payload As Byte(),
_vectorStartLocation As Integer,
_vectorSize As Integer
) As Vector4
private:
Vector4 ConvertByteArrayIntoVector(
array<unsigned char>^ _payload,
int _vectorStartLocation,
int _vectorSize
)
private member ConvertByteArrayIntoVector :
_payload : byte[] *
_vectorStartLocation : int *
_vectorSize : int -> Vector4
Parameters
- _payload
- Type: SystemByte
The byte array to be converted - _vectorStartLocation
- Type: SystemInt32
The start location in the byte array for the vector - _vectorSize
- Type: SystemInt32
the size of the vector to be found in bytes (3*sizeof(float) for vector3)
Return Value
Type:
Vector4A vector2, 3, or 4, depending on the _vectorSize variable
See Also