Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Scenery.ENotEnoughControllers Class Reference

Animator instance controller count too low. More...

Inheritance diagram for Dragengine.Scenery.ENotEnoughControllers:

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.

Detailed Description

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.

Member Function Documentation

◆ getControllerCount()

int Dragengine.Scenery.ENotEnoughControllers.getControllerCount ( )

Number of controllers present in resource.

Referenced by getOwner().

◆ 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().

◆ getRequiredControllerCount()

int Dragengine.Scenery.ENotEnoughControllers.getRequiredControllerCount ( )

Number of required controllers.

References getSource().

Referenced by getOwner().

◆ getSource()

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().

◆ new() [1/2]

ENotEnoughControllers Dragengine.Scenery.ENotEnoughControllers.new ( String source,
int controllerCount,
int requiredControllerCount )

Create exception.

References new().

Referenced by new(), and new().

◆ new() [2/2]

ENotEnoughControllers Dragengine.Scenery.ENotEnoughControllers.new ( String source,
int controllerCount,
int requiredControllerCount,
Object owner )

Create exception.

References new().


The documentation for this class was generated from the following file: