BackgroundUniformity.createFromStruct constructor

BackgroundUniformity.createFromStruct(
  1. id3FaceBackgroundUniformity value
)

Create a new instance of the BackgroundUniformity from the native struct

Implementation

BackgroundUniformity.createFromStruct(id3FaceBackgroundUniformity value) : _handle = calloc() {
  _handle.ref.ColorUniformity = value.ColorUniformity;
  _handle.ref.StructureUniformity = value.StructureUniformity;
  _finalizer.attach(this, _handle, detach: this);
}