C4 Engine Terathon Software C4 Engine API Documentation

• Interface Manager

API Links
Developer Links

class Mutator

Defined in:  C4Mutators.h
The Mutator class is used to modify a widget in some way over time.
Definition

class Mutator : public ListElement<Mutator>, public Packable, public Configurable, public Registrable<Mutator, MutatorRegistration>

Member Functions
Mutator::GetMutatorType Returns the mutator type.
Mutator::GetMutatorState Returns the mutator state.
Mutator::SetMutatorState Sets the mutator state.
Mutator::GetMutatorKey Returns the mutator key.
Mutator::SetMutatorKey Sets the mutator key.
Constructor

Mutator(MutatorType type);

Parameters
type The mutator type.
Description


Base Classes
ListElement<Mutator> Used internally by the Interface Manager.
Packable Mutators can be packed for storage in resources.
Configurable Mutators can define configurable parameters that are exposed as user interface widgets in the Panel Editor.
Registrable<Mutator, MutatorRegistration> Custom mutator types can be registered with the engine.
See Also

MutatorReg

Widget

PanelEffect

PanelController