writeInto method

  1. @override
void writeInto(
  1. RayCollisionC p
)
override

Writes all fields directly into the native struct reference p. For nested structs, use writeInto as well.

Implementation

@override
void writeInto(RayCollisionC p) {
  p.hit = hit;
  p.distance = distance;
  point.writeInto(p.point);
  normal.writeInto(p.normal);
}