using System; namespace UnityEngine.Playables { // Token: 0x020004BE RID: 1214 public static class PlayableExtensions { // Token: 0x06003B44 RID: 15172 RVA: 0x00067E20 File Offset: 0x00066020 public static bool IsValid(this U playable) where U : struct, IPlayable { return playable.GetHandle().IsValid(); } // Token: 0x06003B45 RID: 15173 RVA: 0x00067E4C File Offset: 0x0006604C public static void Destroy(this U playable) where U : struct, IPlayable { playable.GetHandle().Destroy(); } // Token: 0x06003B46 RID: 15174 RVA: 0x00067E70 File Offset: 0x00066070 public static PlayableGraph GetGraph(this U playable) where U : struct, IPlayable { return playable.GetHandle().GetGraph(); } // Token: 0x06003B47 RID: 15175 RVA: 0x00067E9C File Offset: 0x0006609C public static void SetPlayState(this U playable, PlayState value) where U : struct, IPlayable { playable.GetHandle().SetPlayState(value); } // Token: 0x06003B48 RID: 15176 RVA: 0x00067EC0 File Offset: 0x000660C0 public static PlayState GetPlayState(this U playable) where U : struct, IPlayable { return playable.GetHandle().GetPlayState(); } // Token: 0x06003B49 RID: 15177 RVA: 0x00067EEC File Offset: 0x000660EC public static void SetSpeed(this U playable, double value) where U : struct, IPlayable { playable.GetHandle().SetSpeed(value); } // Token: 0x06003B4A RID: 15178 RVA: 0x00067F10 File Offset: 0x00066110 public static double GetSpeed(this U playable) where U : struct, IPlayable { return playable.GetHandle().GetSpeed(); } // Token: 0x06003B4B RID: 15179 RVA: 0x00067F3C File Offset: 0x0006613C public static void SetDuration(this U playable, double value) where U : struct, IPlayable { playable.GetHandle().SetDuration(value); } // Token: 0x06003B4C RID: 15180 RVA: 0x00067F60 File Offset: 0x00066160 public static double GetDuration(this U playable) where U : struct, IPlayable { return playable.GetHandle().GetDuration(); } // Token: 0x06003B4D RID: 15181 RVA: 0x00067F8C File Offset: 0x0006618C public static void SetTime(this U playable, double value) where U : struct, IPlayable { playable.GetHandle().SetTime(value); } // Token: 0x06003B4E RID: 15182 RVA: 0x00067FB0 File Offset: 0x000661B0 public static double GetTime(this U playable) where U : struct, IPlayable { return playable.GetHandle().GetTime(); } // Token: 0x06003B4F RID: 15183 RVA: 0x00067FDC File Offset: 0x000661DC public static void SetDone(this U playable, bool value) where U : struct, IPlayable { playable.GetHandle().SetDone(value); } // Token: 0x06003B50 RID: 15184 RVA: 0x00068000 File Offset: 0x00066200 public static bool IsDone(this U playable) where U : struct, IPlayable { return playable.GetHandle().IsDone(); } // Token: 0x06003B51 RID: 15185 RVA: 0x0006802C File Offset: 0x0006622C public static void SetPropagateSetTime(this U playable, bool value) where U : struct, IPlayable { playable.GetHandle().SetPropagateSetTime(value); } // Token: 0x06003B52 RID: 15186 RVA: 0x00068050 File Offset: 0x00066250 public static bool GetPropagateSetTime(this U playable) where U : struct, IPlayable { return playable.GetHandle().GetPropagateSetTime(); } // Token: 0x06003B53 RID: 15187 RVA: 0x0006807C File Offset: 0x0006627C public static bool CanChangeInputs(this U playable) where U : struct, IPlayable { return playable.GetHandle().CanChangeInputs(); } // Token: 0x06003B54 RID: 15188 RVA: 0x000680A8 File Offset: 0x000662A8 public static bool CanSetWeights(this U playable) where U : struct, IPlayable { return playable.GetHandle().CanSetWeights(); } // Token: 0x06003B55 RID: 15189 RVA: 0x000680D4 File Offset: 0x000662D4 public static bool CanDestroy(this U playable) where U : struct, IPlayable { return playable.GetHandle().CanDestroy(); } // Token: 0x06003B56 RID: 15190 RVA: 0x00068100 File Offset: 0x00066300 public static void SetInputCount(this U playable, int value) where U : struct, IPlayable { playable.GetHandle().SetInputCount(value); } // Token: 0x06003B57 RID: 15191 RVA: 0x00068124 File Offset: 0x00066324 public static int GetInputCount(this U playable) where U : struct, IPlayable { return playable.GetHandle().GetInputCount(); } // Token: 0x06003B58 RID: 15192 RVA: 0x00068150 File Offset: 0x00066350 public static void SetOutputCount(this U playable, int value) where U : struct, IPlayable { playable.GetHandle().SetOutputCount(value); } // Token: 0x06003B59 RID: 15193 RVA: 0x00068174 File Offset: 0x00066374 public static int GetOutputCount(this U playable) where U : struct, IPlayable { return playable.GetHandle().GetOutputCount(); } // Token: 0x06003B5A RID: 15194 RVA: 0x000681A0 File Offset: 0x000663A0 public static Playable GetInput(this U playable, int inputPort) where U : struct, IPlayable { return playable.GetHandle().GetInput(inputPort); } // Token: 0x06003B5B RID: 15195 RVA: 0x000681CC File Offset: 0x000663CC public static Playable GetOutput(this U playable, int outputPort) where U : struct, IPlayable { return playable.GetHandle().GetOutput(outputPort); } // Token: 0x06003B5C RID: 15196 RVA: 0x000681F8 File Offset: 0x000663F8 public static void SetInputWeight(this U playable, int inputIndex, float weight) where U : struct, IPlayable { playable.GetHandle().SetInputWeight(inputIndex, weight); } // Token: 0x06003B5D RID: 15197 RVA: 0x00068220 File Offset: 0x00066420 public static void SetInputWeight(this U playable, V input, float weight) where U : struct, IPlayable where V : struct, IPlayable { playable.GetHandle().SetInputWeight(input.GetHandle(), weight); } // Token: 0x06003B5E RID: 15198 RVA: 0x00068254 File Offset: 0x00066454 public static float GetInputWeight(this U playable, int inputIndex) where U : struct, IPlayable { return playable.GetHandle().GetInputWeight(inputIndex); } // Token: 0x06003B5F RID: 15199 RVA: 0x00068280 File Offset: 0x00066480 public static void ConnectInput(this U playable, int inputIndex, V sourcePlayable, int sourceOutputIndex) where U : struct, IPlayable where V : struct, IPlayable { playable.GetGraph().Connect(sourcePlayable, sourceOutputIndex, playable, inputIndex); } // Token: 0x06003B60 RID: 15200 RVA: 0x000682A4 File Offset: 0x000664A4 public static void AddInput(this U playable, V sourcePlayable, int sourceOutputIndex) where U : struct, IPlayable where V : struct, IPlayable { int inputCount = playable.GetInputCount(); playable.SetInputCount(inputCount + 1); playable.ConnectInput(inputCount, sourcePlayable, sourceOutputIndex); } } }