Message.GetFloats Method
Namespace: Riptide
Assembly: RiptideNetworking.dll
Overloads
GetFloats() | Retrieves a float array from the message. |
GetFloats(int) | Retrieves a float array from the message. |
GetFloats(float[], int) | Populates a float array with floats retrieved from the message. |
GetFloats(int, float[], int) | Populates a float array with floats retrieved from the message. |
GetFloats()
Retrieves a float array from the message.
public float[] GetFloats()
Returns
float[] | The array that was retrieved. |
GetFloats(int)
Retrieves a float array from the message.
public float[] GetFloats(int amount)
Parameters
int | amount |
The amount of floats to retrieve. |
Returns
float[] | The array that was retrieved. |
GetFloats(float[], int)
Populates a float array with floats retrieved from the message.
public void GetFloats(float[] intoArray, int startIndex = 0)
Parameters
float[] | intoArray |
The array to populate. |
int | startIndex |
The position at which to start populating the array. |
GetFloats(int, float[], int)
Populates a float array with floats retrieved from the message.
public void GetFloats(int amount, float[] intoArray, int startIndex = 0)
Parameters
int | amount |
The amount of floats to retrieve. |
float[] | intoArray |
The array to populate. |
int | startIndex |
The position at which to start populating the array. |