FaceAttributes.createFromStruct constructor
- id3FaceAttributes value
Create a new instance of the FaceAttributes from the native struct
Implementation
FaceAttributes.createFromStruct(id3FaceAttributes value) : _handle = calloc() {
_handle.ref.Glasses = value.Glasses;
_handle.ref.Hat = value.Hat;
_handle.ref.MakeUp = value.MakeUp;
_handle.ref.Male = value.Male;
_handle.ref.MouthOpen = value.MouthOpen;
_handle.ref.Smile = value.Smile;
_finalizer.attach(this, _handle, detach: this);
}