LineCurve3.fromJSON constructor

LineCurve3.fromJSON(
  1. Map<String, dynamic> json
)

Implementation

LineCurve3.fromJSON(Map<String, dynamic> json) {
  arcLengthDivisions = json["arcLengthDivisions"];

  isLineCurve = true;
  type = 'LineCurve3';

  vec1 = Vector3.fromJSON(json['vec1']);
  vec2 = Vector3.fromJSON(json['vec2']);
}