< Previous | Contents | Next >
The FuRegisterClass call describes the Fuse in a way that Fusion can recognize. This section tells Fusion the tool Name, location Tool menu, description and abbreviation.
This section should contain a single function call to FuRegisterClass(). The FuRegisterClass function requires three arguments. The first sets the tools name, the second sets the tools type, as defined in Fusion’s internal registry, and the last argument is a table containing attributes which define the tools name, icon and other particulars.
This is a minimum to register a Fuse.
FuRegisterClass(ExampleColorCorrector", CT_Tool, { REGS_Category = "Fuses\\Examples", REGS_OpIconString = E1BC",
REGS_OpDescription = "Example1, using the functions of Color Matrix",,
})-- End of RegisterClass
More options and settings are available.
FuRegisterClass("ExampleColorCorrector", CT_Tool, { REGS_Name = "Ex1_BrightContrast", REGS_Category = "Fuses\\Examples", REGS_OpIconString = "E1BC",
REGS_OpDescription = "Example1, using the functions of Color Matrix", REGS_HelpTopic = "Example Location of Help", --This can be a URL REGS_URL = "www.blackmagicdesign.com",
REG_OpNoMask = true, REG_NoBlendCtrls = true, REG_NoObjMatCtrls = true, REG_NoMotionBlurCtrls = true, REG_NoBlendCtrls = false, REG_Fuse_NoEdit = false, REG_Fuse_NoReload = false, REG_Version = 1,
}) -- End of RegisterClass