UnityEngine.Experimental.Director.Playable.GetInputWeight C# (CSharp) Méthode

GetInputWeight() public méthode

public GetInputWeight ( int inputIndex ) : float
inputIndex int
Résultat float
        public float GetInputWeight(int inputIndex)
        {
            if (this.CheckInputBounds(inputIndex))
            {
                return this.GetInputWeightInternal(inputIndex);
            }
            return -1f;
        }

Usage Example

 static public int GetInputWeight(IntPtr l)
 {
     try {
         UnityEngine.Experimental.Director.Playable self = (UnityEngine.Experimental.Director.Playable)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         var ret = self.GetInputWeight(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of UnityEngine.Experimental.Director.Playable::GetInputWeight