Eyeon:Script/Reference/Applications/Fusion Expressions/Functions
From VFXPedia
Contents |
Introduction
A listing of functions available to InTool scripts and Expressions
Tool : GetValue()
Arguments
GetValue(InputName, time)
- InputName(required,string)
The string based name of the input whose value you wish to derive.
- time(required, number)
The time for which you wish to evaluate the input.
Returns
The value for the input whose value needs to be derived.
Remarks
This function allows you to connect to various tools within the InTool script environment and get values of at times other than the current time.
Requirements
- eyeonScript 5.01
- Fusion 5.01
Examples
-- Sets a transform tool's size equal to that of a merge's four -- frames earlier.
Size = Merge1:GetValue("Size",time-4)
Image : Resize()
Arguments
Resize(keep, tableOfInfo)
- image(required, object)
set to nil for InTool script purposes
- time(required, table)
The table you wish to pass into the function. Valid Fields are:
RSZ_Width (integer)
RSZ_Height(integer)
RSZ_Filter(string)
Returns
Returns a resized image.
Remarks
This function allows you to connect to various tools within the InTool script environment and get values of at times other than the current time.
Requirements
- eyeonScript 5.01
- Fusion 5.01
Examples
-- Resizes an effect mask image based on the input height and width. See lesson for example
EffectMask = EffectMask:Resize(nil, { RSZ_Width = Input.Width, RSZ_Height = Input.Height, RSZ_Filter = "CatmulRom"})
Tips for Functions (edit)
EyeonTips:Script/Reference/Applications/Fusion Expressions/Functions