Intersection.fromJson constructor

Intersection.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Intersection.fromJson(Map<String, dynamic> json) {
  return Intersection(
    instanceId: json["instanceId"],
    distance: json["distance"],
    distanceToRay: json["distanceToRay"],
    point: json["point"],
    index: json["index"],
    face: json["face"],
    faceIndex: json["faceIndex"],
    object: json["object"],
    uv: json["uv"],
    uv2: json["uv2"]
  );
}