void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.CalibrateDebevec)) { LogError("owner is not initialized. Add Action \"newCalibrateDebevec\"."); return; } OpenCVForUnity.PhotoModule.CalibrateDebevec wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.CalibrateDebevec, OpenCVForUnity.PhotoModule.CalibrateDebevec>(owner); wrapped_owner.setRandom(random.Value); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.CalibrateDebevec)) { LogError("owner is not initialized. Add Action \"newCalibrateDebevec\"."); return; } OpenCVForUnity.PhotoModule.CalibrateDebevec wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.CalibrateDebevec, OpenCVForUnity.PhotoModule.CalibrateDebevec>(owner); storeResult.Value = wrapped_owner.getRandom(); Fsm.Event(storeResult.Value ? trueEvent : falseEvent); }
public CalibrateDebevec(OpenCVForUnity.PhotoModule.CalibrateDebevec nativeObj) : base(nativeObj) { }