Beispiel #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));
        }
    }
Beispiel #4
0
 private static extern void INTERNAL_CALL_SetRemoveStartOffset(ref PlayableHandle handle, bool value);
Beispiel #5
0
 public bool Connect(PlayableHandle source, int sourceOutputPort, PlayableHandle destination, int destinationInputPort)
 {
     return(PlayableGraph.ConnectInternal(ref this, source, sourceOutputPort, destination, destinationInputPort));
 }
Beispiel #6
0
 private static bool GetRemoveStartOffset(ref PlayableHandle handle)
 {
     return(AnimationClipPlayable.INTERNAL_CALL_GetRemoveStartOffset(ref handle));
 }
Beispiel #7
0
 private static void SetApplyFootIK(ref PlayableHandle handle, bool value)
 {
     AnimationClipPlayable.INTERNAL_CALL_SetApplyFootIK(ref handle, value);
 }
Beispiel #8
0
 private static bool GetApplyFootIK(ref PlayableHandle handle)
 {
     return(AnimationClipPlayable.INTERNAL_CALL_GetApplyFootIK(ref handle));
 }
Beispiel #9
0
 private static void SetSpeed(ref PlayableHandle handle, float value)
 {
     AnimationClipPlayable.INTERNAL_CALL_SetSpeed(ref handle, value);
 }
Beispiel #10
0
 private static float GetSpeed(ref PlayableHandle handle)
 {
     return(AnimationClipPlayable.INTERNAL_CALL_GetSpeed(ref handle));
 }
Beispiel #11
0
 public void DestroySubgraph(PlayableHandle playable)
 {
     PlayableGraph.InternalDestroySubgraph(ref this, playable);
 }
Beispiel #12
0
 public void DestroyPlayable(PlayableHandle playable)
 {
     PlayableGraph.InternalDestroyPlayable(ref this, ref playable);
 }
Beispiel #13
0
 private static extern void INTERNAL_CALL_DisconnectInternal(ref PlayableGraph graph, ref PlayableHandle playable, int inputPort);
Beispiel #14
0
 private static void DisconnectInternal(ref PlayableGraph graph, ref PlayableHandle playable, int inputPort)
 {
     PlayableGraph.INTERNAL_CALL_DisconnectInternal(ref graph, ref playable, inputPort);
 }
Beispiel #15
0
 public void Disconnect(PlayableHandle playable, int inputPort)
 {
     PlayableGraph.DisconnectInternal(ref this, ref playable, inputPort);
 }
Beispiel #16
0
 private static extern bool INTERNAL_CALL_ConnectInternal(ref PlayableGraph graph, ref PlayableHandle source, int sourceOutputPort, ref PlayableHandle destination, int destinationInputPort);
Beispiel #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));
 }
Beispiel #18
0
 private static AnimationClip GetAnimationClip(ref PlayableHandle handle)
 {
     return(AnimationClipPlayable.INTERNAL_CALL_GetAnimationClip(ref handle));
 }
Beispiel #19
0
 private static extern AnimationClip INTERNAL_CALL_GetAnimationClip(ref PlayableHandle handle);
Beispiel #20
0
 private static void InternalDestroySubgraph(ref PlayableGraph graph, PlayableHandle playable)
 {
     PlayableGraph.INTERNAL_CALL_InternalDestroySubgraph(ref graph, ref playable);
 }
Beispiel #21
0
 private static extern float INTERNAL_CALL_GetSpeed(ref PlayableHandle handle);
Beispiel #22
0
 private static extern void INTERNAL_CALL_InternalDestroySubgraph(ref PlayableGraph graph, ref PlayableHandle playable);
Beispiel #23
0
 private static extern void INTERNAL_CALL_SetSpeed(ref PlayableHandle handle, float value);
Beispiel #24
0
 internal static void InternalGetRootPlayable(int index, ref PlayableGraph graph, ref PlayableHandle handle)
 {
     PlayableGraph.INTERNAL_CALL_InternalGetRootPlayable(index, ref graph, ref handle);
 }
Beispiel #25
0
 private static extern bool INTERNAL_CALL_GetApplyFootIK(ref PlayableHandle handle);
Beispiel #26
0
 private static extern void INTERNAL_CALL_InternalGetRootPlayable(int index, ref PlayableGraph graph, ref PlayableHandle handle);
Beispiel #27
0
 private static extern void INTERNAL_CALL_SetApplyFootIK(ref PlayableHandle handle, bool value);
Beispiel #28
0
 private static void SetRemoveStartOffset(ref PlayableHandle handle, bool value)
 {
     AnimationClipPlayable.INTERNAL_CALL_SetRemoveStartOffset(ref handle, value);
 }
Beispiel #29
0
 private static extern bool INTERNAL_CALL_GetRemoveStartOffset(ref PlayableHandle handle);
Beispiel #30
0
 private static extern object INTERNAL_CALL_InternalCreateScriptPlayable(ref PlayableGraph graph, ref PlayableHandle handle, Type type);