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