Importing classes

When a formula or a class contains a class name, for example to declare a variable or a plug-in parameter, Ultra Fractal searches for the class in the list of imported files, and then in the current file. To import a file so its classes become available, use the import keyword.

class ExtendedBailout(Test.ufm:Bailout) {
public:
  import "common.ulb"
  ; ...
}

This modified version of the ExtendedBailout example first imports the file Test.ufm because that is where its ancestor is located. Then it imports the plug-in library file common.ulb.

Next: The common.ulb file

See Also
Classes
Inheritance
Plug-in parameters