Improving simple custom controllers

Managing States

Controllers will start work only if they are configured and initialized. If your custom controller needs additional resources to work properly, you should override the following properties:

IsConfigured

This property should return true if all neccessary fields are set. E.g. a SplineController returns true only if a source Spline is set.

IsInitialized

This property should return true if IsConfigured is true and everything is fully initialized. E.g. a SplineController returns true only if the source spline is defined (IsConfigured) and Spline.IsInitialized is true.

Last modified: 2015/09/23 13:49 by Jake