fromJSON static method

dynamic fromJSON(
  1. dynamic data
)

Implementation

static fromJSON(data) {
  return BoxGeometry(
    data["width"],
    data["height"],
    data["depth"],
    data["widthSegments"],
    data["heightSegments"],
    data["depthSegments"],
  );
}