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