void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TonemapReinhard)) { LogError("owner is not initialized. Add Action \"newTonemapReinhard\"."); return; } OpenCVForUnity.PhotoModule.TonemapReinhard wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TonemapReinhard, OpenCVForUnity.PhotoModule.TonemapReinhard>(owner); wrapped_owner.setLightAdaptation(light_adapt.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TonemapReinhard)) { LogError("owner is not initialized. Add Action \"newTonemapReinhard\"."); return; } OpenCVForUnity.PhotoModule.TonemapReinhard wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TonemapReinhard, OpenCVForUnity.PhotoModule.TonemapReinhard>(owner); storeResult.Value = wrapped_owner.getIntensity(); }
public TonemapReinhard(OpenCVForUnity.PhotoModule.TonemapReinhard nativeObj) : base(nativeObj) { }