◆ FromFloatArray()

static void FromFloatArray ( this Vector3  vec,
float[]  floatarray 
)
static
Parameters
vecthis is the Vector3 calling this function. It is the values contained herein that will be modified to match the parameter float-array.
floatarraythis array must be (at least) 3 elements long, or the function will not modify the Vector3. If valid, this arrays data will be stored in the calling vector's x,y,z coordinates, in that order.