Drag[en]gine Script Module DragonScript
1.23
|
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 |
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.
void Dragengine.Preloading.StubDecal.failedLoading | ( | String | path, |
ResourceLoaderType | resourceType | ||
) |
Resource has failed loading.
Implements Dragengine.ResourceListener.
void Dragengine.Preloading.StubDecal.finishedLoading | ( | String | path, |
ResourceLoaderType | resourceType, | ||
Object | resource | ||
) |
Resource has finished loading.
Implements Dragengine.ResourceListener.
Color Dragengine.Preloading.StubDecal.getColorTint | ( | ) |
Retrieves the color tint or null to not replace the color tint.
String Dragengine.Preloading.StubDecal.getPathSkin | ( | ) |
Retrieves the skin path.
Vector Dragengine.Preloading.StubDecal.getPosition | ( | ) |
Retrieves the position.
Vector Dragengine.Preloading.StubDecal.getRotation | ( | ) |
Retrieves the rotation.
Vector Dragengine.Preloading.StubDecal.getSize | ( | ) |
Retrieves the size.
Skin Dragengine.Preloading.StubDecal.getSkin | ( | ) |
Retrieves the skin.
String Dragengine.Preloading.StubDecal.getTextureName | ( | ) |
Retrieves the texture name.
TexMatrix2 Dragengine.Preloading.StubDecal.getTransform | ( | ) |
Retrieves the texture coordinates transformation or null to not replace the transformation.
bool Dragengine.Preloading.StubDecal.getVisible | ( | ) |
Retrieves the visiblity.
StubDecal Dragengine.Preloading.StubDecal.new | ( | ) |
Creates a new stub decal.
void Dragengine.Preloading.StubDecal.preloadResources | ( | ) |
Adds preload resources.
void Dragengine.Preloading.StubDecal.setColorTint | ( | Color | color | ) |
Sets the color tint or null to not replace the color tint.
void Dragengine.Preloading.StubDecal.setCounter | ( | PreloadCounter | counter | ) |
Sets the counter.
void Dragengine.Preloading.StubDecal.setPathSkin | ( | String | pathSkin | ) |
Sets the skin path.
void Dragengine.Preloading.StubDecal.setPosition | ( | Vector | position | ) |
Sets the position.
void Dragengine.Preloading.StubDecal.setRotation | ( | Vector | rotation | ) |
Sets the rotation.
void Dragengine.Preloading.StubDecal.setSize | ( | Vector | size | ) |
Sets the size.
void Dragengine.Preloading.StubDecal.setTextureName | ( | String | textureName | ) |
Sets the texture name.
void Dragengine.Preloading.StubDecal.setTransform | ( | TexMatrix2 | transform | ) |
Sets the texture coordinates transformation or null to not replace the transformation.
void Dragengine.Preloading.StubDecal.setVisible | ( | bool | visible | ) |
Sets the visibility.