FacePose.createFromStruct constructor

FacePose.createFromStruct(
  1. id3FacePose value
)

Create a new instance of the FacePose from the native struct

Implementation

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