コード例 #1
0
 internal AnimationPlayableOutput(PlayableOutputHandle handle)
 {
     if (handle.IsValid())
     {
         if (!handle.IsPlayableOutputOfType <AnimationPlayableOutput>())
         {
             throw new InvalidCastException("Can't set handle: the playable is not an AnimationPlayableOutput.");
         }
     }
     this.m_Handle = handle;
 }
コード例 #2
0
        internal TexturePlayableOutput(PlayableOutputHandle handle)
        {
            if (handle.IsValid())
            {
                if (!handle.IsPlayableOutputOfType <TexturePlayableOutput>())
                {
                    throw new InvalidCastException("Can't set handle: the playable is not an TexturePlayableOutput.");
                }
            }

            m_Handle = handle;
        }
コード例 #3
0
        internal AudioPlayableOutput(PlayableOutputHandle handle)
        {
            bool flag = handle.IsValid();

            if (flag)
            {
                bool flag2 = !handle.IsPlayableOutputOfType <AudioPlayableOutput>();
                if (flag2)
                {
                    throw new InvalidCastException("Can't set handle: the playable is not an AudioPlayableOutput.");
                }
            }
            this.m_Handle = handle;
        }
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            PlayableOutputHandle playableOutputHandle = default(PlayableOutputHandle);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, playableOutputHandle);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #5
0
    public static int GetHandle(IntPtr l)
    {
        int result;

        try
        {
            IPlayableOutput      playableOutput = (IPlayableOutput)LuaObject.checkSelf(l);
            PlayableOutputHandle handle         = playableOutput.GetHandle();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, handle);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
    public static int GetHandle(IntPtr l)
    {
        int result;

        try
        {
            AnimationPlayableOutput animationPlayableOutput;
            LuaObject.checkValueType <AnimationPlayableOutput>(l, 1, out animationPlayableOutput);
            PlayableOutputHandle handle = animationPlayableOutput.GetHandle();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, handle);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
コード例 #7
0
 extern internal static bool InternalCreateTextureOutput(ref PlayableGraph graph, string name, out PlayableOutputHandle handle);
 extern private static void InternalSetSortingOrder(PlayableOutputHandle output, int sortingOrder);
 extern private static int InternalGetSortingOrder(PlayableOutputHandle output);
コード例 #10
0
 private static Animator InternalGetTarget(ref PlayableOutputHandle handle)
 {
     return(AnimationPlayableOutput.INTERNAL_CALL_InternalGetTarget(ref handle));
 }
コード例 #11
0
 internal static void DestroyOutput(this PlayableGraph graph, PlayableOutputHandle handle)
 {
     AnimationPlayableGraphExtensions.InternalDestroyOutput(ref graph, ref handle);
 }
コード例 #12
0
 private static void InternalDestroyOutput(ref PlayableGraph graph, ref PlayableOutputHandle handle)
 {
     AnimationPlayableGraphExtensions.INTERNAL_CALL_InternalDestroyOutput(ref graph, ref handle);
 }
コード例 #13
0
 private static extern void InternalSetTarget(ref PlayableOutputHandle handle, Animator target);
コード例 #14
0
 extern private static RenderTexture InternalGetTarget(ref PlayableOutputHandle output);
コード例 #15
0
 extern private static bool InternalGetEvaluateOnSeek(ref PlayableOutputHandle output);
コード例 #16
0
 extern private static bool InternalGetAnimationOutput(ref PlayableGraph graph, int index, out PlayableOutputHandle handle);
コード例 #17
0
 extern private static void InternalDestroyOutput(ref PlayableGraph graph, ref PlayableOutputHandle handle);
コード例 #18
0
 static internal void DestroyOutput(this PlayableGraph graph, PlayableOutputHandle handle)
 {
     InternalDestroyOutput(ref graph, ref handle);
 }
コード例 #19
0
 private static void InternalSetTarget(ref PlayableOutputHandle handle, Animator target)
 {
     AnimationPlayableOutput.INTERNAL_CALL_InternalSetTarget(ref handle, target);
 }
コード例 #20
0
 extern private static void InternalSetTarget(ref PlayableOutputHandle output, AudioSource target);
コード例 #21
0
 private static extern Animator InternalGetTarget(ref PlayableOutputHandle handle);
コード例 #22
0
 extern private static void InternalSetTarget(ref PlayableOutputHandle output, RenderTexture target);
コード例 #23
0
 private static extern bool INTERNAL_CALL_InternalCreateAnimationOutput(ref PlayableGraph graph, string name, out PlayableOutputHandle handle);
コード例 #24
0
 private static extern bool INTERNAL_CALL_InternalGetAnimationOutput(ref PlayableGraph graph, int index, out PlayableOutputHandle handle);
コード例 #25
0
 private static extern void INTERNAL_CALL_InternalDestroyOutput(ref PlayableGraph graph, ref PlayableOutputHandle handle);
 extern private static void InternalSetAnimationStreamSource(PlayableOutputHandle output, AnimationStreamSource streamSource);
コード例 #27
0
 private static bool InternalGetAnimationOutput(ref PlayableGraph graph, int index, out PlayableOutputHandle handle)
 {
     return(AnimationPlayableGraphExtensions.INTERNAL_CALL_InternalGetAnimationOutput(ref graph, index, out handle));
 }
コード例 #28
0
 extern private static void InternalSetEvaluateOnSeek(ref PlayableOutputHandle output, bool value);
コード例 #29
0
 internal static bool InternalCreateAnimationOutput(ref PlayableGraph graph, string name, out PlayableOutputHandle handle)
 {
     return(AnimationPlayableGraphExtensions.INTERNAL_CALL_InternalCreateAnimationOutput(ref graph, name, out handle));
 }
 extern private static AnimationStreamSource InternalGetAnimationStreamSource(PlayableOutputHandle output);