Drag[en]gine Script Module DragonScript
1.23
|
Animator instance controller count too low. More...
Public Member Functions | |
int | getControllerCount () |
Number of controllers present in resource. More... | |
Object | getOwner () |
Owner object. More... | |
int | getRequiredControllerCount () |
Number of required controllers. More... | |
String | getSource () |
Source. More... | |
ENotEnoughControllers | new (String source, int controllerCount, int requiredControllerCount) |
Create exception. More... | |
ENotEnoughControllers | new (String source, int controllerCount, int requiredControllerCount, Object owner) |
Create exception. More... | |
Animator instance controller count too low.
This exception is thrown if an resource has a smaller controller count than required. As additional information the the source, the number of controllers and the number of required controllers are added. The source can be the path of the file the resource has been loaded from, a script class or anything else helping to identify the source of the problem. Optionally an owner object can be added to help identify which object has the failed requirements.
int Dragengine.Scenery.ENotEnoughControllers.getControllerCount | ( | ) |
Number of controllers present in resource.
Object Dragengine.Scenery.ENotEnoughControllers.getOwner | ( | ) |
Owner object.
Can be present to help identify which object has the failed requirements. Is null if not set.
int Dragengine.Scenery.ENotEnoughControllers.getRequiredControllerCount | ( | ) |
Number of required controllers.
String Dragengine.Scenery.ENotEnoughControllers.getSource | ( | ) |
Source.
Can be the path of the file the resource has been loaded from, a script class or anything else helping to identify the source of the problem.
ENotEnoughControllers Dragengine.Scenery.ENotEnoughControllers.new | ( | String | source, |
int | controllerCount, | ||
int | requiredControllerCount | ||
) |
Create exception.
ENotEnoughControllers Dragengine.Scenery.ENotEnoughControllers.new | ( | String | source, |
int | controllerCount, | ||
int | requiredControllerCount, | ||
Object | owner | ||
) |
Create exception.