void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TonemapDurand)) { LogError("owner is not initialized. Add Action \"newTonemapDurand\"."); return; } OpenCVForUnity.XphotoModule.TonemapDurand wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TonemapDurand, OpenCVForUnity.XphotoModule.TonemapDurand>(owner); wrapped_owner.setContrast(contrast.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TonemapDurand)) { LogError("owner is not initialized. Add Action \"newTonemapDurand\"."); return; } OpenCVForUnity.XphotoModule.TonemapDurand wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TonemapDurand, OpenCVForUnity.XphotoModule.TonemapDurand>(owner); storeResult.Value = wrapped_owner.getSigmaSpace(); }
public TonemapDurand(OpenCVForUnity.XphotoModule.TonemapDurand nativeObj) : base(nativeObj) { }