getWorldPosition method

Vector3 getWorldPosition(
  1. Vector3? target
)

Implementation

Vector3 getWorldPosition(Vector3? target) {
  if (target == null) {
    print('THREE.Object3D: .getWorldPosition() target is now required');
    target = Vector3();
  }

  updateWorldMatrix(true, false);

  return target.setFromMatrixPosition(matrixWorld);
}