SetInputWeight() public méthode

public SetInputWeight ( int inputIndex, float weight ) : bool
inputIndex int
weight float
Résultat bool
 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));
     }
 }
Exemple #2
0
 internal static void SetInputWeightValidated(Playable playable, Playable input, float weight, System.Type typeofPlayable)
 {
     playable.SetInputWeight(input, weight);
 }
 internal static void SetInputWeightValidated(Playable playable, Playable input, float weight, Type typeofPlayable)
 {
     playable.SetInputWeight(input, weight);
 }
Exemple #4
0
 internal static void SetInputWeightValidated(Playable playable, int inputIndex, float weight, Type typeofPlayable)
 {
     playable.SetInputWeight(inputIndex, weight);
 }