register_model_class¶
- photonforge.register_model_class(*model_classes)¶
Register a model class derived from
Model
.Model classes must be registered before they can be used in loading phf files.
- Parameters:
*model_classes – Classes derived from
Model
.- Returns:
None
.
See also
Model
for an example of custom model registration.