nativeWriteInto method
Writes all fields directly into the native struct reference p.
For nested structs, use writeInto as well.
Implementation
@override
void nativeWriteInto(RayCollisionC p) {
p.hit = hit;
p.distance = distance;
point.nativeWriteInto(p.point);
normal.nativeWriteInto(p.normal);
}