|
Drag[en]gine Script Module DragonScript 1.35
|
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 | |
Stub for a decal. Used during asynchronous loading to hold the settings of a decal until all resources have been loaded.
| Decal Dragengine.Preloading.StubDecal.createDecal | ( | ) |
Creates decal from the stub information.
References new(), and setRotation().
Referenced by failedLoading().
| void Dragengine.Preloading.StubDecal.failedLoading | ( | String | path, |
| ResourceLoaderType | resourceType ) |
Resource has failed loading.
Implements Dragengine.ResourceListener.
References createDecal(), failedLoading(), finishedLoading(), getColorTint(), getSize(), getTransform(), getVisible(), new(), preloadResources(), setColorTint(), setPosition(), setSize(), setTransform(), and setVisible().
Referenced by failedLoading().
| void Dragengine.Preloading.StubDecal.finishedLoading | ( | String | path, |
| ResourceLoaderType | resourceType, | ||
| Object | resource ) |
Resource has finished loading.
Implements Dragengine.ResourceListener.
Referenced by failedLoading().
| Color Dragengine.Preloading.StubDecal.getColorTint | ( | ) |
Retrieves the color tint or null to not replace the color tint.
References new(), and setPosition().
Referenced by failedLoading().
| String Dragengine.Preloading.StubDecal.getPathSkin | ( | ) |
Retrieves the skin path.
Referenced by getTextureName().
| Vector Dragengine.Preloading.StubDecal.getPosition | ( | ) |
| Vector Dragengine.Preloading.StubDecal.getRotation | ( | ) |
| Vector Dragengine.Preloading.StubDecal.getSize | ( | ) |
| Skin Dragengine.Preloading.StubDecal.getSkin | ( | ) |
Retrieves the skin.
Referenced by getRotation().
| String Dragengine.Preloading.StubDecal.getTextureName | ( | ) |
| TexMatrix2 Dragengine.Preloading.StubDecal.getTransform | ( | ) |
Retrieves the texture coordinates transformation or null to not replace the transformation.
References getPosition().
Referenced by failedLoading().
| bool Dragengine.Preloading.StubDecal.getVisible | ( | ) |
| StubDecal Dragengine.Preloading.StubDecal.new | ( | ) |
Creates a new stub decal.
References new().
Referenced by createDecal(), failedLoading(), getColorTint(), getPosition(), getVisible(), new(), and setCounter().
| void Dragengine.Preloading.StubDecal.preloadResources | ( | ) |
| void Dragengine.Preloading.StubDecal.setColorTint | ( | Color | color | ) |
Sets the color tint or null to not replace the color tint.
Referenced by failedLoading().
| void Dragengine.Preloading.StubDecal.setCounter | ( | PreloadCounter | counter | ) |
| void Dragengine.Preloading.StubDecal.setPathSkin | ( | String | pathSkin | ) |
| void Dragengine.Preloading.StubDecal.setPosition | ( | Vector | position | ) |
Sets the position.
Referenced by failedLoading(), and getColorTint().
| void Dragengine.Preloading.StubDecal.setRotation | ( | Vector | rotation | ) |
Sets the rotation.
Referenced by createDecal().
| void Dragengine.Preloading.StubDecal.setSize | ( | Vector | size | ) |
| void Dragengine.Preloading.StubDecal.setTextureName | ( | String | textureName | ) |
| void Dragengine.Preloading.StubDecal.setTransform | ( | TexMatrix2 | transform | ) |
Sets the texture coordinates transformation or null to not replace the transformation.
Referenced by failedLoading().
| void Dragengine.Preloading.StubDecal.setVisible | ( | bool | visible | ) |
Sets the visibility.
Referenced by failedLoading().