public unsafe bool IsValid() =>
 Playables.IsValid(*((Playable *)this));
Ejemplo n.º 2
0
 public Playable GetOutput(int outputPort)
 {
     return(Playables.GetOutputValidated(this, outputPort, base.GetType()));
 }
Ejemplo n.º 3
0
 internal static bool Equals(Playable lhs, Playable rhs)
 {
     return(Playables.CompareVersion(lhs, rhs));
 }
Ejemplo n.º 4
0
 public static bool operator !=(AnimationMixerPlayable x, Playable y)
 {
     return(!Playables.Equals(x, y));
 }
Ejemplo n.º 5
0
 public bool IsValid()
 {
     return(Playables.IsValid(this));
 }
Ejemplo n.º 6
0
 public unsafe float GetInputWeight(int index)
 {
     return(Playables.GetInputWeightValidated(*((Playable *)this), index, base.GetType()));
 }
Ejemplo n.º 7
0
 public float GetInputWeight(int index)
 {
     return(Playables.GetInputWeightValidated(this, index, base.GetType()));
 }
Ejemplo n.º 8
0
 /// <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());
Ejemplo n.º 9
0
 /// <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());
Ejemplo n.º 10
0
 public static Type GetTypeOf(Playable playable)
 {
     return(Playables.GetTypeOfInternal(playable.m_Handle, playable.m_Version));
 }
Ejemplo n.º 11
0
 public static bool Connect(Playable source, Playable target, int sourceOutputPort, int targetInputPort)
 {
     return(Playables.ConnectInternal(ref source, ref target, sourceOutputPort, targetInputPort));
 }
Ejemplo n.º 12
0
 public T CastTo <T>() where T : struct
 {
     return((T)((object)Playables.CastToInternal(typeof(T), this.m_Handle, this.m_Version)));
 }
Ejemplo n.º 13
0
 public void Destroy()
 {
     Playables.InternalDestroy(ref this);
 }
 public unsafe Playable GetInput(int inputPort) =>
 Playables.GetInputValidated(*((Playable *)this), inputPort, base.GetType());
Ejemplo n.º 15
0
 public static bool operator ==(AnimationMixerPlayable x, Playable y)
 {
     return(Playables.Equals((Playable)x, y));
 }
Ejemplo n.º 16
0
 /// <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());
Ejemplo n.º 17
0
 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));
 }
Ejemplo n.º 19
0
 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));
 }
Ejemplo n.º 21
0
 public void SetInputWeight(int inputIndex, float weight)
 {
     Playables.SetInputWeightValidated(this, inputIndex, weight, base.GetType());
 }
Ejemplo n.º 22
0
 internal static void DisconnectInternal(ref Playable target, int inputPort)
 {
     Playables.INTERNAL_CALL_DisconnectInternal(ref target, inputPort);
 }
Ejemplo n.º 23
0
 public override bool Equals(object p)
 {
     return(Playables.Equals(this, p));
 }
Ejemplo n.º 24
0
 internal static void SetPlayableDeleteOnDisconnect(ref Playable target, bool value)
 {
     Playables.INTERNAL_CALL_SetPlayableDeleteOnDisconnect(ref target, value);
 }
Ejemplo n.º 25
0
 public Playable GetInput(int inputPort)
 {
     return(Playables.GetInputValidated(this, inputPort, base.GetType()));
 }
Ejemplo n.º 26
0
 public override unsafe bool Equals(object p)
 {
     return(Playables.Equals(*((Playable *)this), p));
 }
Ejemplo n.º 27
0
 internal static void InternalDestroy(ref Playable playable)
 {
     Playables.INTERNAL_CALL_InternalDestroy(ref playable);
 }
Ejemplo n.º 28
0
 public unsafe bool IsValid()
 {
     return(Playables.IsValid(*((Playable *)this)));
 }
Ejemplo n.º 29
0
 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);