writeInto method
Writes all fields directly into the native struct reference p.
For nested structs, use writeInto as well.
Implementation
@override
void writeInto(Camera2DC p) {
offset.writeInto(p.offset);
target.writeInto(p.target);
p.rotation = rotation;
p.zoom = zoom;
}