nativeWriteInto method
Writes all fields directly into the native struct reference p.
For nested structs, use writeInto as well.
Implementation
@override
void nativeWriteInto(RayC p) {
position.nativeWriteInto(p.position);
direction.nativeWriteInto(p.direction);
}