fromJSON static method

CylinderGeometry fromJSON(
  1. dynamic data
)

Implementation

static CylinderGeometry fromJSON(data) {
  return CylinderGeometry(
    data["radiusTop"],
    data["radiusBottom"],
    data["height"],
    data["radialSegments"],
    data["heightSegments"],
    data["openEnded"],
    data["thetaStart"],
    data["thetaLength"],
  );
}