fromJson static method

CylinderGeometry fromJson(
  1. Map<String, dynamic> data
)

Implementation

static CylinderGeometry fromJson(Map<String,dynamic> data) {
  return CylinderGeometry(
    data["radiusTop"],
    data["radiusBottom"],
    data["height"],
    data["radialSegments"],
    data["heightSegments"],
    data["openEnded"],
    data["thetaStart"],
    data["thetaLength"]
  );
}