setFromObject method

BoxHelper setFromObject(
  1. dynamic object
)

object - Object3D to create the helper of.

Updates the wireframe box for the passed object.

Implementation

BoxHelper setFromObject(object) {
  this.object = object;
  update();

  return this;
}