static public int constructor(IntPtr l)
 {
     try {
                     #if DEBUG
         var    method     = System.Reflection.MethodBase.GetCurrentMethod();
         string methodName = GetMethodName(method);
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.BeginSample(methodName);
                     #else
         Profiler.BeginSample(methodName);
                     #endif
                     #endif
         UnityEngine.Playables.PlayableOutputHandle o;
         o = new UnityEngine.Playables.PlayableOutputHandle();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
             #if DEBUG
     finally {
                     #if UNITY_5_5_OR_NEWER
         UnityEngine.Profiling.Profiler.EndSample();
                     #else
         Profiler.EndSample();
                     #endif
     }
             #endif
 }
        internal static PlayableHandle GetSourcePlayableInternal(ref PlayableOutputHandle handle)
        {
            PlayableHandle result;

            PlayableOutputHandle.INTERNAL_CALL_GetSourcePlayableInternal(ref handle, out result);
            return(result);
        }
Example #3
0
        internal PlayableHandle GetSourcePlayable()
        {
            PlayableHandle result;

            PlayableOutputHandle.GetSourcePlayable_Injected(ref this, out result);
            return(result);
        }
Example #4
0
 internal ScriptPlayableOutput(PlayableOutputHandle handle)
 {
     if (handle.IsValid())
     {
         if (!handle.IsPlayableOutputOfType <ScriptPlayableOutput>())
         {
             throw new InvalidCastException("Can't set handle: the playable is not a ScriptPlayableOutput.");
         }
     }
     this.m_Handle = handle;
 }
Example #5
0
 static public int constructor(IntPtr l)
 {
     try {
         UnityEngine.Playables.PlayableOutputHandle o;
         o = new UnityEngine.Playables.PlayableOutputHandle();
         pushValue(l, true);
         pushValue(l, o);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #6
0
 extern private bool GetOutputByTypeInternal(Type outputType, int index, out PlayableOutputHandle handle);
Example #7
0
 extern private bool GetOutputInternal(int index, out PlayableOutputHandle handle);
 internal void SetReferenceObject(UnityEngine.Object value)
 {
     PlayableOutputHandle.SetInternalReferenceObject(ref this, value);
 }
Example #9
0
 internal PlayableOutput(PlayableOutputHandle handle)
 {
     this.m_Handle = handle;
 }
 internal static extern bool InternalCreateAudioOutput(ref PlayableGraph graph, string name, out PlayableOutputHandle handle);
 private static extern void DestroyOutputInternal_Injected(ref PlayableGraph _unity_self, ref PlayableOutputHandle handle);
 private bool GetOutputByTypeInternal(Type outputType, int index, out PlayableOutputHandle handle)
 {
     return(PlayableGraph.GetOutputByTypeInternal_Injected(ref this, outputType, index, out handle));
 }
 private static extern UnityEngine.Object INTERNAL_CALL_GetInternalUserData(ref PlayableOutputHandle handle);
 internal static UnityEngine.Object GetInternalUserData(ref PlayableOutputHandle handle)
 {
     return(PlayableOutputHandle.INTERNAL_CALL_GetInternalUserData(ref handle));
 }
 internal void SetUserData(UnityEngine.Object value)
 {
     PlayableOutputHandle.SetInternalUserData(ref this, value);
 }
 internal UnityEngine.Object GetUserData()
 {
     return(PlayableOutputHandle.GetInternalUserData(ref this));
 }
 private static extern void INTERNAL_CALL_SetInternalReferenceObject(ref PlayableOutputHandle handle, UnityEngine.Object target);
 internal static void SetInternalReferenceObject(ref PlayableOutputHandle handle, UnityEngine.Object target)
 {
     PlayableOutputHandle.INTERNAL_CALL_SetInternalReferenceObject(ref handle, target);
 }
 private static extern UnityEngine.Object INTERNAL_CALL_GetInternalReferenceObject(ref PlayableOutputHandle handle);
 internal bool CreateScriptOutputInternal(string name, out PlayableOutputHandle handle)
 {
     return(PlayableGraph.CreateScriptOutputInternal_Injected(ref this, name, out handle));
 }
 internal void DestroyOutputInternal(PlayableOutputHandle handle)
 {
     PlayableGraph.DestroyOutputInternal_Injected(ref this, ref handle);
 }
 internal static void SetInternalUserData(ref PlayableOutputHandle handle, [Writable] UnityEngine.Object target)
 {
     PlayableOutputHandle.INTERNAL_CALL_SetInternalUserData(ref handle, target);
 }
 private static extern bool CreateScriptOutputInternal_Injected(ref PlayableGraph _unity_self, string name, out PlayableOutputHandle handle);
 internal bool IsPlayableOutputOfType <T>()
 {
     return(PlayableOutputHandle.GetPlayableOutputTypeOf(ref this) == typeof(T));
 }
 private static extern bool GetOutputByTypeInternal_Injected(ref PlayableGraph _unity_self, Type outputType, int index, out PlayableOutputHandle handle);
 private static extern Type INTERNAL_CALL_GetPlayableOutputTypeOf(ref PlayableOutputHandle handle);
Example #27
0
 extern internal bool CreateScriptOutputInternal(string name, out PlayableOutputHandle handle);
Example #28
0
 extern internal void DestroyOutputInternal(PlayableOutputHandle handle);
Example #29
0
 public Type GetPlayableOutputType()
 {
     return(PlayableOutputHandle.GetPlayableOutputTypeOf(ref this.m_Handle));
 }
 internal UnityEngine.Object GetReferenceObject()
 {
     return(PlayableOutputHandle.GetInternalReferenceObject(ref this));
 }