Example #1
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Director.PlayableHandle o;
         o = new UnityEngine.Experimental.Director.PlayableHandle();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
    static int get_handle(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.Experimental.Director.Playable       obj = (UnityEngine.Experimental.Director.Playable)o;
            UnityEngine.Experimental.Director.PlayableHandle ret = obj.handle;
            ToLua.PushValue(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index handle on a nil value" : e.Message));
        }
    }
    static int set_handle(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UnityEngine.Experimental.Director.Playable       obj  = (UnityEngine.Experimental.Director.Playable)o;
            UnityEngine.Experimental.Director.PlayableHandle arg0 = (UnityEngine.Experimental.Director.PlayableHandle)ToLua.CheckObject(L, 2, typeof(UnityEngine.Experimental.Director.PlayableHandle));
            obj.handle = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index handle on a nil value" : e.Message));
        }
    }
Example #4
0
 private static extern void INTERNAL_CALL_SetRemoveStartOffset(ref PlayableHandle handle, bool value);
Example #5
0
 public bool Connect(PlayableHandle source, int sourceOutputPort, PlayableHandle destination, int destinationInputPort)
 {
     return(PlayableGraph.ConnectInternal(ref this, source, sourceOutputPort, destination, destinationInputPort));
 }
Example #6
0
 private static bool GetRemoveStartOffset(ref PlayableHandle handle)
 {
     return(AnimationClipPlayable.INTERNAL_CALL_GetRemoveStartOffset(ref handle));
 }
Example #7
0
 private static void SetApplyFootIK(ref PlayableHandle handle, bool value)
 {
     AnimationClipPlayable.INTERNAL_CALL_SetApplyFootIK(ref handle, value);
 }
Example #8
0
 private static bool GetApplyFootIK(ref PlayableHandle handle)
 {
     return(AnimationClipPlayable.INTERNAL_CALL_GetApplyFootIK(ref handle));
 }
Example #9
0
 private static void SetSpeed(ref PlayableHandle handle, float value)
 {
     AnimationClipPlayable.INTERNAL_CALL_SetSpeed(ref handle, value);
 }
Example #10
0
 private static float GetSpeed(ref PlayableHandle handle)
 {
     return(AnimationClipPlayable.INTERNAL_CALL_GetSpeed(ref handle));
 }
Example #11
0
 public void DestroySubgraph(PlayableHandle playable)
 {
     PlayableGraph.InternalDestroySubgraph(ref this, playable);
 }
Example #12
0
 public void DestroyPlayable(PlayableHandle playable)
 {
     PlayableGraph.InternalDestroyPlayable(ref this, ref playable);
 }
Example #13
0
 private static extern void INTERNAL_CALL_DisconnectInternal(ref PlayableGraph graph, ref PlayableHandle playable, int inputPort);
Example #14
0
 private static void DisconnectInternal(ref PlayableGraph graph, ref PlayableHandle playable, int inputPort)
 {
     PlayableGraph.INTERNAL_CALL_DisconnectInternal(ref graph, ref playable, inputPort);
 }
Example #15
0
 public void Disconnect(PlayableHandle playable, int inputPort)
 {
     PlayableGraph.DisconnectInternal(ref this, ref playable, inputPort);
 }
Example #16
0
 private static extern bool INTERNAL_CALL_ConnectInternal(ref PlayableGraph graph, ref PlayableHandle source, int sourceOutputPort, ref PlayableHandle destination, int destinationInputPort);
Example #17
0
 private static bool ConnectInternal(ref PlayableGraph graph, PlayableHandle source, int sourceOutputPort, PlayableHandle destination, int destinationInputPort)
 {
     return(PlayableGraph.INTERNAL_CALL_ConnectInternal(ref graph, ref source, sourceOutputPort, ref destination, destinationInputPort));
 }
Example #18
0
 private static AnimationClip GetAnimationClip(ref PlayableHandle handle)
 {
     return(AnimationClipPlayable.INTERNAL_CALL_GetAnimationClip(ref handle));
 }
Example #19
0
 private static extern AnimationClip INTERNAL_CALL_GetAnimationClip(ref PlayableHandle handle);
Example #20
0
 private static void InternalDestroySubgraph(ref PlayableGraph graph, PlayableHandle playable)
 {
     PlayableGraph.INTERNAL_CALL_InternalDestroySubgraph(ref graph, ref playable);
 }
Example #21
0
 private static extern float INTERNAL_CALL_GetSpeed(ref PlayableHandle handle);
Example #22
0
 private static extern void INTERNAL_CALL_InternalDestroySubgraph(ref PlayableGraph graph, ref PlayableHandle playable);
Example #23
0
 private static extern void INTERNAL_CALL_SetSpeed(ref PlayableHandle handle, float value);
Example #24
0
 internal static void InternalGetRootPlayable(int index, ref PlayableGraph graph, ref PlayableHandle handle)
 {
     PlayableGraph.INTERNAL_CALL_InternalGetRootPlayable(index, ref graph, ref handle);
 }
Example #25
0
 private static extern bool INTERNAL_CALL_GetApplyFootIK(ref PlayableHandle handle);
Example #26
0
 private static extern void INTERNAL_CALL_InternalGetRootPlayable(int index, ref PlayableGraph graph, ref PlayableHandle handle);
Example #27
0
 private static extern void INTERNAL_CALL_SetApplyFootIK(ref PlayableHandle handle, bool value);
Example #28
0
 private static void SetRemoveStartOffset(ref PlayableHandle handle, bool value)
 {
     AnimationClipPlayable.INTERNAL_CALL_SetRemoveStartOffset(ref handle, value);
 }
Example #29
0
 private static extern bool INTERNAL_CALL_GetRemoveStartOffset(ref PlayableHandle handle);
Example #30
0
 private static extern object INTERNAL_CALL_InternalCreateScriptPlayable(ref PlayableGraph graph, ref PlayableHandle handle, Type type);