57 lines
1.5 KiB
C#
57 lines
1.5 KiB
C#
using System;
|
|
using UnityEngine.Scripting;
|
|
|
|
namespace UnityEngine.Playables
|
|
{
|
|
// Token: 0x020000E6 RID: 230
|
|
[RequiredByNativeCode]
|
|
public struct PlayableOutput : IPlayableOutput, IEquatable<PlayableOutput>
|
|
{
|
|
// Token: 0x0600112F RID: 4399 RVA: 0x00016FD8 File Offset: 0x000151D8
|
|
internal PlayableOutput(PlayableOutputHandle handle)
|
|
{
|
|
this.m_Handle = handle;
|
|
}
|
|
|
|
// Token: 0x1700036F RID: 879
|
|
// (get) Token: 0x06001130 RID: 4400 RVA: 0x00016FE4 File Offset: 0x000151E4
|
|
public static PlayableOutput Null
|
|
{
|
|
get
|
|
{
|
|
return PlayableOutput.m_NullPlayableOutput;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001131 RID: 4401 RVA: 0x00017000 File Offset: 0x00015200
|
|
public PlayableOutputHandle GetHandle()
|
|
{
|
|
return this.m_Handle;
|
|
}
|
|
|
|
// Token: 0x06001132 RID: 4402 RVA: 0x0001701C File Offset: 0x0001521C
|
|
public bool IsPlayableOutputOfType<T>() where T : struct, IPlayableOutput
|
|
{
|
|
return this.GetHandle().IsPlayableOutputOfType<T>();
|
|
}
|
|
|
|
// Token: 0x06001133 RID: 4403 RVA: 0x00017040 File Offset: 0x00015240
|
|
public Type GetPlayableOutputType()
|
|
{
|
|
return PlayableOutputHandle.GetPlayableOutputTypeOf(ref this.m_Handle);
|
|
}
|
|
|
|
// Token: 0x06001134 RID: 4404 RVA: 0x00017060 File Offset: 0x00015260
|
|
public bool Equals(PlayableOutput other)
|
|
{
|
|
return this.GetHandle() == other.GetHandle();
|
|
}
|
|
|
|
// Token: 0x0400021C RID: 540
|
|
private PlayableOutputHandle m_Handle;
|
|
|
|
// Token: 0x0400021D RID: 541
|
|
private static readonly PlayableOutput m_NullPlayableOutput = new PlayableOutput(PlayableOutputHandle.Null);
|
|
}
|
|
}
|