fromArray method

Vector3 fromArray(
  1. dynamic array, [
  2. int offset = 0
])

Implementation

Vector3 fromArray(array, [int offset = 0]) {
  x = array[offset].toDouble();
  y = array[offset + 1].toDouble();
  z = array[offset + 2].toDouble();

  return this;
}