private IntPtr GetCurrentValueHelper(object defValSrc, object defValDest, AnimationClock clock)
        {
            IntPtr ret = NoesisGUI_PINVOKE.AnimationTimeline_GetCurrentValueHelper(swigCPtr, Noesis.Extend.GetInstanceHandle(defValSrc), Noesis.Extend.GetInstanceHandle(defValDest), AnimationClock.getCPtr(clock));

            return(ret);
        }
Exemple #2
0
 internal static HandleRef getCPtr(AnimationClock obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
        public object GetCurrentValue(object defaultOriginValue, object defaultDestinationValue, AnimationClock animationClock)
        {
            IntPtr cPtr = GetCurrentValueHelper(defaultOriginValue, defaultDestinationValue, animationClock);

            return(Noesis.Extend.GetProxy(cPtr, true));
        }
        public object GetCurrentValue(object defaultOriginValue, object defaultDestinationValue, AnimationClock animationClock)
        {
            IntPtr cPtr = NoesisGUI_PINVOKE.AnimationTimeline_GetCurrentValue(swigCPtr, Noesis.Extend.GetInstanceHandle(defaultOriginValue), Noesis.Extend.GetInstanceHandle(defaultDestinationValue), AnimationClock.getCPtr(animationClock));

    #if UNITY_EDITOR || NOESIS_API
            if (NoesisGUI_PINVOKE.SWIGPendingException.Pending)
            {
                throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve();
            }
    #endif
            return(Noesis.Extend.GetProxy(cPtr, false));
        }