# EyeGaze.createFromStruct constructor

EyeGaze.createFromStruct(

1. id3FaceEyeGaze value

)

Create a new instance of the EyeGaze from the native struct

## Implementation

    EyeGaze.createFromStruct(id3FaceEyeGaze value) : _handle = calloc() {
      _handle.ref.LeftEyeXGaze = value.LeftEyeXGaze;
      _handle.ref.LeftEyeYGaze = value.LeftEyeYGaze;
      _handle.ref.RightEyeXGaze = value.RightEyeXGaze;
      _handle.ref.RightEyeYGaze = value.RightEyeYGaze;
      _finalizer.attach(this, _handle, detach: this);
    }