Eyeon:Script/Reference/Applications/Fusion/Classes/Output/GetValue

From VFXPedia

Jump to: navigation, search

Contents

Output : GetValue

Arguments

value, attrs = GetValue([number time [, number reqflags [, number proxy]]])


  • time (number, optional)

The frame to fetch the value for (default is the current time).

  • reqflags (number, optional)

Quality flags (default is final quality).

  • proxy (number, optional)

Proxy level (default is no proxy).


Returns

  • value may be nil, or a variety of different types:
Number - returns a number
Point - returns a table with X and Y members
Text - returns a string
Clip - returns the filename string
Image - returns an Image object
  • attrs is a table with the following entries:
Valid - table with numeric Start and End entries
DataType - string ID for the parameter type
TimeCost - time take to render this parameter


Remarks

This function is useful for retrieving the result of a chain of tools. It does this by triggering a render (if cached values are not found) of all tools upstream of the Output.


Requirements

  • eyeonScript 5.0
  • Fusion 5.0

Examples

Loader1 = Loader({Clip = "c:\\example.0000.tif"})
BC1 = BrightnessContrast({Gamma = 1.3, Input = Loader1.Output})
img,attrs = BC1.Output:GetValue(1.0)

See Also

GetValueMemBlock()



Tips for GetValue (edit)

EyeonTips:Script/Reference/Applications/Fusion/Classes/Output/GetValue