TransformControlsPlane constructor

TransformControlsPlane(
  1. dynamic controls
)

Implementation

factory TransformControlsPlane(controls) {
  var geometry = PlaneGeometry(100000, 100000, 2, 2);
  var material = MeshBasicMaterial({
    "visible": false,
    "wireframe": true,
    "side": DoubleSide,
    "transparent": true,
    "opacity": 0.1,
    "toneMapped": false
  });

  var tcp = TransformControlsPlane.create(geometry, material);

  tcp.controls = controls;

  return tcp;
}