nativeWriteInto method

  1. @override
void nativeWriteInto(
  1. Camera2DC p
)
override

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

Implementation

@override
void nativeWriteInto(Camera2DC p) {
  offset.nativeWriteInto(p.offset);
  target.nativeWriteInto(p.target);
  p.rotation = rotation;
  p.zoom = zoom;
}