PointLight.fromJson constructor
Implementation
PointLight.fromJson(Map<String, dynamic> json, Map<String,dynamic> rootJson):super.fromJson(json,rootJson) {
type = "PointLight";
distance = json["distance"];
decay = json["decay"] ?? 1;
shadow = PointLightShadow.fromJson(json["shadow"],rootJson);
}