Drag[en]gine Script Module DragonScript Script API  1.0
StubDecal Class Reference
Inheritance diagram for StubDecal:
ResourceNotifier

Public Member Functions

Decal createDecal ()
 
void failedLoading (String path, int resourceType)
 
void finishedLoading (String path, int resourceType, Object resource)
 
Color getColorTint ()
 
String getPathSkin ()
 
Vector getPosition ()
 
Vector getRotation ()
 
Vector getSize ()
 
Skin getSkin ()
 
String getTextureName ()
 
TexMatrix2 getTransform ()
 
bool getVisible ()
 
StubDecal new ()
 
void preloadResources ()
 
void setColorTint (Color color)
 
void setCounter (PreloadCounter counter)
 
void setPathSkin (String pathSkin)
 
void setPosition (Vector position)
 
void setRotation (Vector rotation)
 
void setSize (Vector size)
 
void setTextureName (String textureName)
 
void setTransform (TexMatrix2 transform)
 
void setVisible (bool visible)
 
Notification

Detailed Description

Stub for a decal. Used during asynchronous loading to hold the settings of a decal until all resources have been loaded.

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

§ createDecal()

Decal createDecal ( )

Creates decal from the stub informations.

§ failedLoading()

void failedLoading ( String  path,
int  resourceType 
)

Resource has failed loading.

Implements ResourceNotifier.

§ finishedLoading()

void finishedLoading ( String  path,
int  resourceType,
Object  resource 
)

Resource has finished loading.

Implements ResourceNotifier.

§ getColorTint()

Color getColorTint ( )

Retrieves the color tint or null to not replace the color tint.

§ getPathSkin()

String getPathSkin ( )

Retrieves the skin path.

§ getPosition()

Vector getPosition ( )

Retrieves the position.

§ getRotation()

Vector getRotation ( )

Retrieves the rotation.

§ getSize()

Vector getSize ( )

Retrieves the size.

§ getSkin()

Skin getSkin ( )

Retrieves the skin.

§ getTextureName()

String getTextureName ( )

Retrieves the texture name.

§ getTransform()

TexMatrix2 getTransform ( )

Retrieves the texture coordinates transformation or null to not replace the transformation.

§ getVisible()

bool getVisible ( )

Retrieves the visiblity.

§ new()

StubDecal new ( )

Creates a new stub decal.

§ preloadResources()

void preloadResources ( )

Adds preload resources.

§ setColorTint()

void setColorTint ( Color  color)

Sets the color tint or null to not replace the color tint.

§ setCounter()

void setCounter ( PreloadCounter  counter)

Sets the counter.

§ setPathSkin()

void setPathSkin ( String  pathSkin)

Sets the skin path.

§ setPosition()

void setPosition ( Vector  position)

Sets the position.

§ setRotation()

void setRotation ( Vector  rotation)

Sets the rotation.

§ setSize()

void setSize ( Vector  size)

Sets the size.

§ setTextureName()

void setTextureName ( String  textureName)

Sets the texture name.

§ setTransform()

void setTransform ( TexMatrix2  transform)

Sets the texture coordinates transformation or null to not replace the transformation.

§ setVisible()

void setVisible ( bool  visible)

Sets the visibility.


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