107 lines
4.4 KiB
C#
107 lines
4.4 KiB
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
using UnityEngine.Playables;
|
|
using UnityEngine.Scripting;
|
|
|
|
namespace UnityEngine.Animations
|
|
{
|
|
// Token: 0x020001F9 RID: 505
|
|
public static class AnimationPlayableGraphExtensions
|
|
{
|
|
// Token: 0x060023D2 RID: 9170 RVA: 0x00029D60 File Offset: 0x00027F60
|
|
internal static bool InternalCreateAnimationOutput(ref PlayableGraph graph, string name, out PlayableOutputHandle handle)
|
|
{
|
|
return AnimationPlayableGraphExtensions.INTERNAL_CALL_InternalCreateAnimationOutput(ref graph, name, out handle);
|
|
}
|
|
|
|
// Token: 0x060023D3 RID: 9171
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern bool INTERNAL_CALL_InternalCreateAnimationOutput(ref PlayableGraph graph, string name, out PlayableOutputHandle handle);
|
|
|
|
// Token: 0x060023D4 RID: 9172 RVA: 0x00029D80 File Offset: 0x00027F80
|
|
internal static void SyncUpdateAndTimeMode(this PlayableGraph graph, Animator animator)
|
|
{
|
|
AnimationPlayableGraphExtensions.InternalSyncUpdateAndTimeMode(ref graph, animator);
|
|
}
|
|
|
|
// Token: 0x060023D5 RID: 9173 RVA: 0x00029D8C File Offset: 0x00027F8C
|
|
internal static void InternalSyncUpdateAndTimeMode(ref PlayableGraph graph, Animator animator)
|
|
{
|
|
AnimationPlayableGraphExtensions.INTERNAL_CALL_InternalSyncUpdateAndTimeMode(ref graph, animator);
|
|
}
|
|
|
|
// Token: 0x060023D6 RID: 9174
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_InternalSyncUpdateAndTimeMode(ref PlayableGraph graph, Animator animator);
|
|
|
|
// Token: 0x060023D7 RID: 9175 RVA: 0x00029D98 File Offset: 0x00027F98
|
|
internal static PlayableHandle CreateAnimationMotionXToDeltaPlayable(this PlayableGraph graph)
|
|
{
|
|
PlayableHandle @null = PlayableHandle.Null;
|
|
PlayableHandle playableHandle;
|
|
if (!AnimationPlayableGraphExtensions.InternalCreateAnimationMotionXToDeltaPlayable(ref graph, ref @null))
|
|
{
|
|
playableHandle = PlayableHandle.Null;
|
|
}
|
|
else
|
|
{
|
|
@null.SetInputCount(1);
|
|
playableHandle = @null;
|
|
}
|
|
return playableHandle;
|
|
}
|
|
|
|
// Token: 0x060023D8 RID: 9176 RVA: 0x00029DD8 File Offset: 0x00027FD8
|
|
private static bool InternalCreateAnimationMotionXToDeltaPlayable(ref PlayableGraph graph, ref PlayableHandle handle)
|
|
{
|
|
return AnimationPlayableGraphExtensions.INTERNAL_CALL_InternalCreateAnimationMotionXToDeltaPlayable(ref graph, ref handle);
|
|
}
|
|
|
|
// Token: 0x060023D9 RID: 9177
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern bool INTERNAL_CALL_InternalCreateAnimationMotionXToDeltaPlayable(ref PlayableGraph graph, ref PlayableHandle handle);
|
|
|
|
// Token: 0x060023DA RID: 9178 RVA: 0x00029DF4 File Offset: 0x00027FF4
|
|
private static void InternalDestroyOutput(ref PlayableGraph graph, ref PlayableOutputHandle handle)
|
|
{
|
|
AnimationPlayableGraphExtensions.INTERNAL_CALL_InternalDestroyOutput(ref graph, ref handle);
|
|
}
|
|
|
|
// Token: 0x060023DB RID: 9179
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern void INTERNAL_CALL_InternalDestroyOutput(ref PlayableGraph graph, ref PlayableOutputHandle handle);
|
|
|
|
// Token: 0x060023DC RID: 9180 RVA: 0x00029E00 File Offset: 0x00028000
|
|
internal static void DestroyOutput(this PlayableGraph graph, PlayableOutputHandle handle)
|
|
{
|
|
AnimationPlayableGraphExtensions.InternalDestroyOutput(ref graph, ref handle);
|
|
}
|
|
|
|
// Token: 0x060023DD RID: 9181 RVA: 0x00029E0C File Offset: 0x0002800C
|
|
private static int InternalAnimationOutputCount(ref PlayableGraph graph)
|
|
{
|
|
return AnimationPlayableGraphExtensions.INTERNAL_CALL_InternalAnimationOutputCount(ref graph);
|
|
}
|
|
|
|
// Token: 0x060023DE RID: 9182
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern int INTERNAL_CALL_InternalAnimationOutputCount(ref PlayableGraph graph);
|
|
|
|
// Token: 0x060023DF RID: 9183 RVA: 0x00029E28 File Offset: 0x00028028
|
|
private static bool InternalGetAnimationOutput(ref PlayableGraph graph, int index, out PlayableOutputHandle handle)
|
|
{
|
|
return AnimationPlayableGraphExtensions.INTERNAL_CALL_InternalGetAnimationOutput(ref graph, index, out handle);
|
|
}
|
|
|
|
// Token: 0x060023E0 RID: 9184
|
|
[GeneratedByOldBindingsGenerator]
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
private static extern bool INTERNAL_CALL_InternalGetAnimationOutput(ref PlayableGraph graph, int index, out PlayableOutputHandle handle);
|
|
}
|
|
}
|