|
Drag[en]gine Script Module DragonScript 1.35
|
Animator instance controller count too low. More...
Public Member Functions | |
| int | getControllerCount () |
| Number of controllers present in resource. | |
| Object | getOwner () |
| Owner object. | |
| int | getRequiredControllerCount () |
| Number of required controllers. | |
| String | getSource () |
| Source. | |
| ENotEnoughControllers | new (String source, int controllerCount, int requiredControllerCount) |
| Create exception. | |
| ENotEnoughControllers | new (String source, int controllerCount, int requiredControllerCount, Object owner) |
| Create exception. | |
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.
Referenced by getOwner().
| Object Dragengine.Scenery.ENotEnoughControllers.getOwner | ( | ) |
Owner object.
Can be present to help identify which object has the failed requirements. Is null if not set.
References getControllerCount(), getOwner(), and getRequiredControllerCount().
Referenced by getOwner().
| int Dragengine.Scenery.ENotEnoughControllers.getRequiredControllerCount | ( | ) |
| 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.
Referenced by getRequiredControllerCount().
| ENotEnoughControllers Dragengine.Scenery.ENotEnoughControllers.new | ( | String | source, |
| int | controllerCount, | ||
| int | requiredControllerCount ) |
| ENotEnoughControllers Dragengine.Scenery.ENotEnoughControllers.new | ( | String | source, |
| int | controllerCount, | ||
| int | requiredControllerCount, | ||
| Object | owner ) |
Create exception.
References new().