< Previous | Contents | Next >

Examples

The following shows the FuRegisterClass function used to create a Tool called Ex2_Controls, In the Tools menu Fuses\Examples


FuRegisterClass("ExampleControls", CT_Tool, { REGS_Name = "Ex2_Controls", REGS_Category = "Fuses\\Examples", REGS_OpIconString = "E2C",

REGS_OpDescription = "Example, showing the various Controls in Fusion", REGS_HelpTopic = "Example Location of Help", -- This can be a URL REGS_URL = "www.blackmagicdesign.com",

REGS_IconID = "Icons.Tools.Icons.Example", -- This can be inline as an array

REG_OpNoMask = false, -- Mask Input shows and will mask the output image

REG_NoBlendCtrls = true, -- This will allow whether this tool can Blend

REG_NoObjMatCtrls = true, --Set this to allow masking from the Object mattes

REG_NoMotionBlurCtrls = true, -- Set whether Motion blur will work with this tool

REG_NoBlendCtrls = false, -- This will allow whether this tool can Blend

REG_Fuse_NoEdit = false, -- To not allow editing of the Fuse set to true

REG_Fuse_NoReload = false, -- To no allow reloading of the Fuse set to true

REG_Version = 1,

})