LightState constructor

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

Implementation

LightState(Map<String, dynamic> json) {
  version = json["version"];
  hash = json["hash"];
  ambient = List<double>.from(json["ambient"]);
  probe = List<Vector3>.from(json["probe"]);
  directional = json["directional"];
  directionalShadow = json["directionalShadow"];
  directionalShadowMap = json["directionalShadowMap"];
  directionalShadowMatrix = json["directionalShadowMatrix"];
  spot = json["spot"];
  spotShadow = json["spotShadow"];
  spotShadowMap = json["spotShadowMap"];
  spotShadowMatrix = json["spotShadowMatrix"];
  rectArea = json["rectArea"];
  point = json["point"];
  pointShadow = json["pointShadow"];
  pointShadowMap = json["pointShadowMap"];
  pointShadowMatrix = json["pointShadowMatrix"];
  hemi = json["hemi"];
}