public SetInputWeight ( int inputIndex, float weight ) : bool | ||
inputIndex | int | |
weight | float | |
return | bool |
public bool SetInputWeight(int inputIndex, float weight)
{
return (this.CheckInputBounds(inputIndex) && this.SetInputWeightInternal(inputIndex, weight));
}
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)); } }