Drag[en]gine Script Module DragonScript  1.23
Dragengine.Preloading.StubDecal Class Reference
Inheritance diagram for Dragengine.Preloading.StubDecal:
Dragengine.ResourceListener

Public Member Functions

Decal createDecal ()
 
void failedLoading (String path, ResourceLoaderType resourceType)
 
void finishedLoading (String path, ResourceLoaderType 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.

Member Function Documentation

◆ createDecal()

Decal Dragengine.Preloading.StubDecal.createDecal ( )

Creates decal from the stub information.

◆ failedLoading()

void Dragengine.Preloading.StubDecal.failedLoading ( String  path,
ResourceLoaderType  resourceType 
)

Resource has failed loading.

Implements Dragengine.ResourceListener.

◆ finishedLoading()

void Dragengine.Preloading.StubDecal.finishedLoading ( String  path,
ResourceLoaderType  resourceType,
Object  resource 
)

Resource has finished loading.

Implements Dragengine.ResourceListener.

◆ getColorTint()

Color Dragengine.Preloading.StubDecal.getColorTint ( )

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

◆ getPathSkin()

String Dragengine.Preloading.StubDecal.getPathSkin ( )

Retrieves the skin path.

◆ getPosition()

Vector Dragengine.Preloading.StubDecal.getPosition ( )

Retrieves the position.

◆ getRotation()

Vector Dragengine.Preloading.StubDecal.getRotation ( )

Retrieves the rotation.

◆ getSize()

Vector Dragengine.Preloading.StubDecal.getSize ( )

Retrieves the size.

◆ getSkin()

Skin Dragengine.Preloading.StubDecal.getSkin ( )

Retrieves the skin.

◆ getTextureName()

String Dragengine.Preloading.StubDecal.getTextureName ( )

Retrieves the texture name.

◆ getTransform()

TexMatrix2 Dragengine.Preloading.StubDecal.getTransform ( )

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

◆ getVisible()

bool Dragengine.Preloading.StubDecal.getVisible ( )

Retrieves the visiblity.

◆ new()

StubDecal Dragengine.Preloading.StubDecal.new ( )

Creates a new stub decal.

◆ preloadResources()

void Dragengine.Preloading.StubDecal.preloadResources ( )

Adds preload resources.

◆ setColorTint()

void Dragengine.Preloading.StubDecal.setColorTint ( Color  color)

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

◆ setCounter()

void Dragengine.Preloading.StubDecal.setCounter ( PreloadCounter  counter)

Sets the counter.

◆ setPathSkin()

void Dragengine.Preloading.StubDecal.setPathSkin ( String  pathSkin)

Sets the skin path.

◆ setPosition()

void Dragengine.Preloading.StubDecal.setPosition ( Vector  position)

Sets the position.

◆ setRotation()

void Dragengine.Preloading.StubDecal.setRotation ( Vector  rotation)

Sets the rotation.

◆ setSize()

void Dragengine.Preloading.StubDecal.setSize ( Vector  size)

Sets the size.

◆ setTextureName()

void Dragengine.Preloading.StubDecal.setTextureName ( String  textureName)

Sets the texture name.

◆ setTransform()

void Dragengine.Preloading.StubDecal.setTransform ( TexMatrix2  transform)

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

◆ setVisible()

void Dragengine.Preloading.StubDecal.setVisible ( bool  visible)

Sets the visibility.


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