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

SetInputWeight() public méthode

public SetInputWeight ( int inputIndex, float weight ) : bool
inputIndex int
weight float
Résultat bool
        public bool SetInputWeight(int inputIndex, float weight)
        {
            return (this.CheckInputBounds(inputIndex) && this.SetInputWeightInternal(inputIndex, weight));
        }

Usage Example

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