Files
2026-06-04 11:42:34 +02:00

214 lines
5.7 KiB
C#

using System;
using System.Runtime.CompilerServices;
using UnityEngine.Scripting;
namespace UnityEngine
{
// Token: 0x020001FC RID: 508
public sealed class AnimationClip : Motion
{
// Token: 0x060023F8 RID: 9208 RVA: 0x0002A0FC File Offset: 0x000282FC
public AnimationClip()
{
AnimationClip.Internal_CreateAnimationClip(this);
}
// Token: 0x060023F9 RID: 9209
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern void SampleAnimation(GameObject go, float time);
// Token: 0x060023FA RID: 9210
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void Internal_CreateAnimationClip([Writable] AnimationClip self);
// Token: 0x17000848 RID: 2120
// (get) Token: 0x060023FB RID: 9211
public extern float length
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x17000849 RID: 2121
// (get) Token: 0x060023FC RID: 9212
internal extern float startTime
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x1700084A RID: 2122
// (get) Token: 0x060023FD RID: 9213
internal extern float stopTime
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x1700084B RID: 2123
// (get) Token: 0x060023FE RID: 9214
// (set) Token: 0x060023FF RID: 9215
public extern float frameRate
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x06002400 RID: 9216
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
public extern void SetCurve(string relativePath, Type type, string propertyName, AnimationCurve curve);
// Token: 0x06002401 RID: 9217 RVA: 0x0002A10C File Offset: 0x0002830C
public void EnsureQuaternionContinuity()
{
AnimationClip.INTERNAL_CALL_EnsureQuaternionContinuity(this);
}
// Token: 0x06002402 RID: 9218
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void INTERNAL_CALL_EnsureQuaternionContinuity(AnimationClip self);
// Token: 0x06002403 RID: 9219 RVA: 0x0002A118 File Offset: 0x00028318
public void ClearCurves()
{
AnimationClip.INTERNAL_CALL_ClearCurves(this);
}
// Token: 0x06002404 RID: 9220
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void INTERNAL_CALL_ClearCurves(AnimationClip self);
// Token: 0x1700084C RID: 2124
// (get) Token: 0x06002405 RID: 9221
// (set) Token: 0x06002406 RID: 9222
public extern WrapMode wrapMode
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x1700084D RID: 2125
// (get) Token: 0x06002407 RID: 9223 RVA: 0x0002A124 File Offset: 0x00028324
// (set) Token: 0x06002408 RID: 9224 RVA: 0x0002A144 File Offset: 0x00028344
public Bounds localBounds
{
get
{
Bounds bounds;
this.INTERNAL_get_localBounds(out bounds);
return bounds;
}
set
{
this.INTERNAL_set_localBounds(ref value);
}
}
// Token: 0x06002409 RID: 9225
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_get_localBounds(out Bounds value);
// Token: 0x0600240A RID: 9226
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
private extern void INTERNAL_set_localBounds(ref Bounds value);
// Token: 0x1700084E RID: 2126
// (get) Token: 0x0600240B RID: 9227
// (set) Token: 0x0600240C RID: 9228
public new extern bool legacy
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
// Token: 0x1700084F RID: 2127
// (get) Token: 0x0600240D RID: 9229
public extern bool humanMotion
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x17000850 RID: 2128
// (get) Token: 0x0600240E RID: 9230
public extern bool empty
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
// Token: 0x0600240F RID: 9231 RVA: 0x0002A150 File Offset: 0x00028350
public void AddEvent(AnimationEvent evt)
{
if (evt == null)
{
throw new ArgumentNullException("evt");
}
this.AddEventInternal(evt);
}
// Token: 0x06002410 RID: 9232
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
internal extern void AddEventInternal(object evt);
// Token: 0x17000851 RID: 2129
// (get) Token: 0x06002411 RID: 9233 RVA: 0x0002A16C File Offset: 0x0002836C
// (set) Token: 0x06002412 RID: 9234 RVA: 0x0002A18C File Offset: 0x0002838C
public AnimationEvent[] events
{
get
{
return (AnimationEvent[])this.GetEventsInternal();
}
set
{
this.SetEventsInternal(value);
}
}
// Token: 0x06002413 RID: 9235
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
internal extern void SetEventsInternal(Array value);
// Token: 0x06002414 RID: 9236
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
internal extern Array GetEventsInternal();
// Token: 0x17000852 RID: 2130
// (get) Token: 0x06002415 RID: 9237
internal extern bool hasRootMotion
{
[GeneratedByOldBindingsGenerator]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
}
}