writeInto method

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

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;
}