public unsafe bool IsValid() => Playables.IsValid(*((Playable *)this));
public Playable GetOutput(int outputPort) { return(Playables.GetOutputValidated(this, outputPort, base.GetType())); }
internal static bool Equals(Playable lhs, Playable rhs) { return(Playables.CompareVersion(lhs, rhs)); }
public static bool operator !=(AnimationMixerPlayable x, Playable y) { return(!Playables.Equals(x, y)); }
public bool IsValid() { return(Playables.IsValid(this)); }
public unsafe float GetInputWeight(int index) { return(Playables.GetInputWeightValidated(*((Playable *)this), index, base.GetType())); }
public float GetInputWeight(int index) { return(Playables.GetInputWeightValidated(this, index, base.GetType())); }
/// <summary> /// <para>Returns the Playable connected at the specified index.</para> /// </summary> /// <param name="inputPort">Index of the input.</param> /// <returns> /// <para>Playable connected at the index specified, or null if the index is valid but is not connected to anything. This happens if there was once a Playable connected at the index, but was disconnected.</para> /// </returns> public Playable GetInput(int inputPort) => Playables.GetInputValidated((Playable)this, inputPort, base.GetType());
/// <summary> /// <para>Get the weight of the Playable at a specified index.</para> /// </summary> /// <param name="index">Index of the input.</param> /// <returns> /// <para>Weight of the input Playable. Returns -1 if there is no input connected at this input index.</para> /// </returns> public float GetInputWeight(int index) => Playables.GetInputWeightValidated((Playable)this, index, base.GetType());
public static Type GetTypeOf(Playable playable) { return(Playables.GetTypeOfInternal(playable.m_Handle, playable.m_Version)); }
public static bool Connect(Playable source, Playable target, int sourceOutputPort, int targetInputPort) { return(Playables.ConnectInternal(ref source, ref target, sourceOutputPort, targetInputPort)); }
public T CastTo <T>() where T : struct { return((T)((object)Playables.CastToInternal(typeof(T), this.m_Handle, this.m_Version))); }
public void Destroy() { Playables.InternalDestroy(ref this); }
public unsafe Playable GetInput(int inputPort) => Playables.GetInputValidated(*((Playable *)this), inputPort, base.GetType());
public static bool operator ==(AnimationMixerPlayable x, Playable y) { return(Playables.Equals((Playable)x, y)); }
/// <summary> /// <para>Returns the Playable connected at the specified output index.</para> /// </summary> /// <param name="outputPort">Index of the output.</param> /// <returns> /// <para>Playable connected at the output index specified, or null if the index is valid but is not connected to anything. This happens if there was once a Playable connected at the index, but was disconnected.</para> /// </returns> public Playable GetOutput(int outputPort) => Playables.GetOutputValidated((Playable)this, outputPort, base.GetType());
public unsafe Playable GetOutput(int outputPort) { return(Playables.GetOutputValidated(*((Playable *)this), outputPort, base.GetType())); }
public static bool operator ==(AnimationClipPlayable x, Playable y) { return(Playables.Equals(x, y)); }
public unsafe void SetInputWeight(int inputIndex, float weight) { Playables.SetInputWeightValidated(*((Playable *)this), inputIndex, weight, base.GetType()); }
public static bool operator !=(AnimatorControllerPlayable x, Playable y) { return(!Playables.Equals((Playable)x, y)); }
public void SetInputWeight(int inputIndex, float weight) { Playables.SetInputWeightValidated(this, inputIndex, weight, base.GetType()); }
internal static void DisconnectInternal(ref Playable target, int inputPort) { Playables.INTERNAL_CALL_DisconnectInternal(ref target, inputPort); }
public override bool Equals(object p) { return(Playables.Equals(this, p)); }
internal static void SetPlayableDeleteOnDisconnect(ref Playable target, bool value) { Playables.INTERNAL_CALL_SetPlayableDeleteOnDisconnect(ref target, value); }
public Playable GetInput(int inputPort) { return(Playables.GetInputValidated(this, inputPort, base.GetType())); }
public override unsafe bool Equals(object p) { return(Playables.Equals(*((Playable *)this), p)); }
internal static void InternalDestroy(ref Playable playable) { Playables.INTERNAL_CALL_InternalDestroy(ref playable); }
public unsafe bool IsValid() { return(Playables.IsValid(*((Playable *)this))); }
internal static bool ConnectInternal(ref Playable source, ref Playable target, int sourceOutputPort, int targetInputPort) { return(Playables.INTERNAL_CALL_ConnectInternal(ref source, ref target, sourceOutputPort, targetInputPort)); }
public override unsafe bool Equals(object p) => Playables.Equals(*((Playable *)this), p);