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; }
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; }
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); }
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); }
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);
private static Animator InternalGetTarget(ref PlayableOutputHandle handle) { return(AnimationPlayableOutput.INTERNAL_CALL_InternalGetTarget(ref handle)); }
internal static void DestroyOutput(this PlayableGraph graph, PlayableOutputHandle handle) { AnimationPlayableGraphExtensions.InternalDestroyOutput(ref graph, ref handle); }
private static void InternalDestroyOutput(ref PlayableGraph graph, ref PlayableOutputHandle handle) { AnimationPlayableGraphExtensions.INTERNAL_CALL_InternalDestroyOutput(ref graph, ref handle); }
private static extern void InternalSetTarget(ref PlayableOutputHandle handle, Animator target);
extern private static RenderTexture InternalGetTarget(ref PlayableOutputHandle output);
extern private static bool InternalGetEvaluateOnSeek(ref PlayableOutputHandle output);
extern private static bool InternalGetAnimationOutput(ref PlayableGraph graph, int index, out PlayableOutputHandle handle);
extern private static void InternalDestroyOutput(ref PlayableGraph graph, ref PlayableOutputHandle handle);
static internal void DestroyOutput(this PlayableGraph graph, PlayableOutputHandle handle) { InternalDestroyOutput(ref graph, ref handle); }
private static void InternalSetTarget(ref PlayableOutputHandle handle, Animator target) { AnimationPlayableOutput.INTERNAL_CALL_InternalSetTarget(ref handle, target); }
extern private static void InternalSetTarget(ref PlayableOutputHandle output, AudioSource target);
private static extern Animator InternalGetTarget(ref PlayableOutputHandle handle);
extern private static void InternalSetTarget(ref PlayableOutputHandle output, RenderTexture target);
private static extern bool INTERNAL_CALL_InternalCreateAnimationOutput(ref PlayableGraph graph, string name, out PlayableOutputHandle handle);
private static extern bool INTERNAL_CALL_InternalGetAnimationOutput(ref PlayableGraph graph, int index, out PlayableOutputHandle handle);
private static extern void INTERNAL_CALL_InternalDestroyOutput(ref PlayableGraph graph, ref PlayableOutputHandle handle);
extern private static void InternalSetAnimationStreamSource(PlayableOutputHandle output, AnimationStreamSource streamSource);
private static bool InternalGetAnimationOutput(ref PlayableGraph graph, int index, out PlayableOutputHandle handle) { return(AnimationPlayableGraphExtensions.INTERNAL_CALL_InternalGetAnimationOutput(ref graph, index, out handle)); }
extern private static void InternalSetEvaluateOnSeek(ref PlayableOutputHandle output, bool value);
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);