nuke.splinewarp.Flag

class nuke.splinewarp.Flag

Bases: object

A base class for objects which have a set of flags that can be set.

You should never be instantiating this class directly - it only exists for other classes to inherit from.

Methods

getFlag

Gets the specified flag.

setFlag

Set or clear the specified flag.

getFlag(flag) → bool

Gets the specified flag. The parameter should be one of the FlagType constants.

setFlag(flag, value) → None

Set or clear the specified flag. The flag parameter should be one of the FlagType constants and value should be True or False.