Eyeon:Script/Reference/Applications/Fusion/Classes/Parameter

From VFXPedia

< Eyeon:Script | Reference | Applications | Fusion | Classes
Revision as of 05:09, 27 August 2009 by Daniel (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Parent Class: Object

Contents


image = Image(string filename | MemBlock data)


  • filename (string, optional)

The path to a file to load.

  • data (MemBlock, optional)

Raw image data.


Methods:

GetDataGet custom persistent data
SetDataSet custom persistent data


Members:

Metadata[RW] Table of data about this parameter

Attributes:

No Attributes.

Metadata Example InTool script:

img = Input
md = img.Metadata
 
-- Read metadata
print("Image was loaded from ".. md.Filename)
 
-- Add/change metadata
md.Project = "Filmy Stuff"
md.Creator = "Studiosity Inc"
md.CreationTime = os.date()
 
-- Duplicate the image, and write the whole table back at once
newimg = img:Copy()
img:SetData("Metadata", md)
 
Input = newimg


Tips for Parameter (edit)

EyeonTips:Script/Reference/Applications/Fusion/Classes/Parameter