DocumentOrientation.createFromStruct constructor

DocumentOrientation.createFromStruct(
  1. id3DocumentOrientation value
)

Create a new instance of the DocumentOrientation from the native struct

Implementation

DocumentOrientation.createFromStruct(id3DocumentOrientation value) : _handle = calloc() {
  _handle.ref.Pitch = value.Pitch;
  _handle.ref.Roll = value.Roll;
  _handle.ref.Yaw = value.Yaw;
  _finalizer.attach(this, _handle, detach: this);
}