GetInputWeightValidated() static private method

static private GetInputWeightValidated ( Playable playable, int index, Type typeofPlayable ) : float
playable Playable
index int
typeofPlayable System.Type
return float
Ejemplo n.º 1
0
 public float GetInputWeight(int index)
 {
     return(Playables.GetInputWeightValidated(this, index, base.GetType()));
 }
Ejemplo n.º 2
0
 public unsafe float GetInputWeight(int index) =>
 Playables.GetInputWeightValidated(*((Playable *)this), index, base.GetType());
Ejemplo n.º 3
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());