Drag[en]gine Script Module DragonScript  1.23
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. 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...
 

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.

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

◆ getRequiredControllerCount()

int Dragengine.Scenery.ENotEnoughControllers.getRequiredControllerCount ( )

Number of required controllers.

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

◆ new() [1/2]

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

Create exception.

◆ new() [2/2]

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

Create exception.


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