SetInputWeight() public method

public SetInputWeight ( int inputIndex, float weight ) : bool
inputIndex int
weight float
return 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));
     }
 }
Exemplo n.º 2
0
 internal static void SetInputWeightValidated(Playable playable, Playable input, float weight, System.Type typeofPlayable)
 {
     playable.SetInputWeight(input, weight);
 }
Exemplo n.º 3
0
 internal static void SetInputWeightValidated(Playable playable, Playable input, float weight, Type typeofPlayable)
 {
     playable.SetInputWeight(input, weight);
 }
Exemplo n.º 4
0
 internal static void SetInputWeightValidated(Playable playable, int inputIndex, float weight, Type typeofPlayable)
 {
     playable.SetInputWeight(inputIndex, weight);
 }