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