Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
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)
Public Member Functions inherited from Dragengine.ResourceListener

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.

References new(), and setRotation().

Referenced by failedLoading().

◆ failedLoading()

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

◆ finishedLoading()

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

Resource has finished loading.

Implements Dragengine.ResourceListener.

Referenced by failedLoading().

◆ getColorTint()

Color Dragengine.Preloading.StubDecal.getColorTint ( )

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

References new(), and setPosition().

Referenced by failedLoading().

◆ getPathSkin()

String Dragengine.Preloading.StubDecal.getPathSkin ( )

Retrieves the skin path.

Referenced by getTextureName().

◆ getPosition()

Vector Dragengine.Preloading.StubDecal.getPosition ( )

Retrieves the position.

References new().

Referenced by getTransform().

◆ getRotation()

Vector Dragengine.Preloading.StubDecal.getRotation ( )

Retrieves the rotation.

References getSkin().

Referenced by preloadResources().

◆ getSize()

Vector Dragengine.Preloading.StubDecal.getSize ( )

Retrieves the size.

References getTextureName().

Referenced by failedLoading().

◆ getSkin()

Skin Dragengine.Preloading.StubDecal.getSkin ( )

Retrieves the skin.

Referenced by getRotation().

◆ getTextureName()

String Dragengine.Preloading.StubDecal.getTextureName ( )

Retrieves the texture name.

References getPathSkin().

Referenced by getSize().

◆ getTransform()

TexMatrix2 Dragengine.Preloading.StubDecal.getTransform ( )

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

References getPosition().

Referenced by failedLoading().

◆ getVisible()

bool Dragengine.Preloading.StubDecal.getVisible ( )

Retrieves the visiblity.

References new().

Referenced by failedLoading().

◆ new()

StubDecal Dragengine.Preloading.StubDecal.new ( )

Creates a new stub decal.

References new().

Referenced by createDecal(), failedLoading(), getColorTint(), getPosition(), getVisible(), new(), and setCounter().

◆ preloadResources()

void Dragengine.Preloading.StubDecal.preloadResources ( )

Adds preload resources.

References getRotation().

Referenced by failedLoading().

◆ setColorTint()

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

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

Referenced by failedLoading().

◆ setCounter()

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

Sets the counter.

References new().

Referenced by setPathSkin().

◆ setPathSkin()

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

Sets the skin path.

References setCounter().

Referenced by setTextureName().

◆ setPosition()

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

Sets the position.

Referenced by failedLoading(), and getColorTint().

◆ setRotation()

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

Sets the rotation.

Referenced by createDecal().

◆ setSize()

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

Sets the size.

References setTextureName().

Referenced by failedLoading().

◆ setTextureName()

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

Sets the texture name.

References setPathSkin().

Referenced by setSize().

◆ setTransform()

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

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

Referenced by failedLoading().

◆ setVisible()

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

Sets the visibility.

Referenced by failedLoading().


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