setPosition method

dynamic setPosition(
  1. Vector3 v
)

Set's the object position.

Implementation

setPosition(Vector3 v) {
  position.copy(v);
  updateMatrix();
}