RenderItem constructor

RenderItem(
  1. Map<String, dynamic> json
)

Implementation

RenderItem(Map<String, dynamic> json) {
  if (json["id"] != null) {
    id = json["id"];
  }
  if (json["object"] != null) {
    object = json["object"];
  }
  if (json["geometry"] != null) {
    geometry = json["geometry"];
  }
  if (json["material"] != null) {
    material = json["material"];
  }
  if (json["program"] != null) {
    program = json["program"];
  }
  if (json["groupOrder"] != null) {
    groupOrder = json["groupOrder"];
  }

  if (json["renderOrder"] != null) {
    renderOrder = json["renderOrder"];
  }
  if (json["z"] != null) {
    z = json["z"];
  }
  if (json["group"] != null) {
    group = json["group"];
  }
}