Node constructor

Node([
  1. int index = -1,
  2. Vector3? position
])

Constructs a new node.

Implementation

Node([ this.index = - 1, Vector3? position]){
    this.position = position ?? Vector3();
  }