class ModifierRegistration
Defined in:
The C4Modifiers.h
ModifierRegistration
class manages internal registration information for a custom modifier type.
Definition
class ModifierRegistration : public Registration<Modifier, ModifierRegistration>
Member Functions
ModifierRegistration::GetModifierType |
Returns the registered modifier type. |
ModifierRegistration::GetModifierName |
Returns the human-readable modifier name. |
Constructor
ModifierRegistration(ModifierType type, const char *name);
Parameters
type |
The modifier type. |
name |
The modifier name. |
Description
The ModifierRegistration
class is abstract and serves as the common base class for the template class ModifierReg
. A custom modifier is registered with the engine by instantiating an object of type ModifierReg<classType>
, where classType
is the type of the modifier subclass being registered.
Base Classes
Registration<Modifier, ModifierRegistration> |
A modifier registration is a specific type of registration object. |
See Also