Eyeon:Script/Reference/Applications/Fusion/Classes/Operator/SetInput

From VFXPedia

Jump to: navigation, search

Contents

Tool : SetInput

Summary

Sets the value of an Input at a given time, with a number, string or other Parameter object.

The time argument may be omitted, if the input is not animated.

A similar result may be obtained by simply indexing the input with the desired time, and assigning to that.

Arguments

SetInput(string inputID, (number|string|Parameter) value [, number time]]))


inputID
the ID of the input to be set
value
Can be a number, a string, or a Parameter, depending on the DataType of the Input.
time
the keyframe time to be set (optional)


Returns

None


Example

-- these lines do the same thing
var = tool.SetInput("Blend", 0.5, 30.0)
var = tool.Blend[30.0] = 0.5

Requirements

  • eyeonScript 5.0
  • Fusion 5.0


See Also


Tips for SetInput (edit)

EyeonTips:Script/Reference/Applications/Fusion/Classes/Operator/SetInput