|
Drag[en]gine Script Module DragonScript 1.32.1
|
Stub for decal. More...
Public Member Functions | |
| void | createWorldDecal (GameWorld gameWorld, DecalBuilder builder) |
| Create world decal from the stub information. | |
| void | failedLoading (String path, ResourceLoaderType resourceType) |
| Resource has failed loading. | |
| void | finishedLoading (String path, ResourceLoaderType resourceType, Object resource) |
| Resource has finished loading. | |
| Color | getColorTint () |
| Color tint or null to not replace the color tint. | |
| DMatrix | getMatrix () |
| Stub matrix. | |
| String | getPathSkin () |
| Skin path. | |
| DVector | getPosition () |
| Position. | |
| Vector | getRotation () |
| Rotation. | |
| Vector | getSize () |
| Size. | |
| Skin | getSkin () |
| Skin. | |
| String | getTextureName () |
| Texture name. | |
| TexMatrix2 | getTransform () |
| Texture coordinates transformation or null to not replace the transformation. | |
| bool | getVisible () |
| Visiblity. | |
| void | loadResources () |
| Load resources. | |
| StubWorldDecal | new () |
| Create stub decal. | |
| StubWorldDecal | new (StubWorldDecal stub) |
| Create copy of element stub. | |
| void | preloadResources () |
| Add preload resources. | |
| void | setColorTint (Color color) |
| Set color tint or null to not replace the color tint. | |
| void | setCounter (PreloadCounter counter) |
| Set counter. | |
| void | setPathSkin (String pathSkin) |
| Set skin path. | |
| void | setPosition (DVector position) |
| Set position. | |
| void | setRotation (Vector rotation) |
| Set rotation. | |
| void | setSize (Vector size) |
| Set size. | |
| void | setTextureName (String textureName) |
| Set texture name. | |
| void | setTransform (TexMatrix2 transform) |
| Set texture coordinates transformation or null to not replace the transformation. | |
| void | setVisible (bool visible) |
| Set visibility. | |
| bool | verifyPreloading (Console console) |
| Verify resource failed loading and print the problems to the console. | |
Public Member Functions inherited from Dragengine.Preloading.StubWithProperties | |
| Dictionary | getProperties () |
| Copy of all properties as dictionary mapping String key to String value. | |
| bool | getPropertyBoolFor (String key, bool default) |
| Boolean property value or default value if absent. | |
| int | getPropertyCount () |
| Number of properties. | |
| float | getPropertyFloatFor (String key, float default) |
| Floating point property value or default value if absent. | |
| int | getPropertyIntFor (String key, int default) |
| Integer property value or default value if absent. | |
| Array | getPropertyKeys () |
| Property keys (String array). | |
| String | getPropertyValueFor (String key, String default) |
| Value of property or default value if absent. | |
| bool | hasPropertyWithKey (String key) |
| Property key is present. | |
| StubWithProperties | new (StubWithProperties stub) |
| Create copy of stub with properties. | |
| void | readPropertiesFromFile (FileReader reader) |
| Read properties from file. | |
| void | removeAllProperties () |
| Remove all properties. | |
| void | removePropertyWithKey (String key) |
| Remove property if present. | |
| void | setFrom (Dictionary properties) |
| Set all properties from dictionary mapping String key to String value. | |
| void | setFrom (StubWithProperties properties) |
| Set properties from another StubWithProperties. | |
| void | setPropertyBoolFor (String key, bool value) |
| Set property. | |
| void | setPropertyFloatFor (String key, float value) |
| Set property. | |
| void | setPropertyIntFor (String key, int value) |
| Set property. | |
| void | setPropertyValueFor (String key, String value) |
| Set property. | |
| void | writePropertiesToFile (FileWriter writer) |
| Write properties to file. | |
Notification | |
Public Attributes | |
| Color | pColorTint |
| PreloadCounter | pCounter |
| DMatrix | pMatrix |
| String | pPathSkin |
| DVector | pPosition |
| Vector | pRotation |
| Skin | pSkin |
| String | pTextureName |
| TexMatrix2 | pTransform |
| bool | pVisible |
Public Attributes inherited from Dragengine.Preloading.StubWithProperties | |
| Dictionary | pProperties |
| Properties. | |
Stub for decal.
Used during asynchronous loading to hold the settings of a decal until all resources have been loaded.
| void Dragengine.Preloading.StubWorldDecal.createWorldDecal | ( | GameWorld | gameWorld, |
| DecalBuilder | builder | ||
| ) |
Create world decal from the stub information.
| void Dragengine.Preloading.StubWorldDecal.failedLoading | ( | String | path, |
| ResourceLoaderType | resourceType | ||
| ) |
Resource has failed loading.
Implements Dragengine.ResourceListener.
| void Dragengine.Preloading.StubWorldDecal.finishedLoading | ( | String | path, |
| ResourceLoaderType | resourceType, | ||
| Object | resource | ||
| ) |
Resource has finished loading.
Implements Dragengine.ResourceListener.
| Color Dragengine.Preloading.StubWorldDecal.getColorTint | ( | ) |
Color tint or null to not replace the color tint.
| DMatrix Dragengine.Preloading.StubWorldDecal.getMatrix | ( | ) |
Stub matrix.
| String Dragengine.Preloading.StubWorldDecal.getPathSkin | ( | ) |
Skin path.
| DVector Dragengine.Preloading.StubWorldDecal.getPosition | ( | ) |
Position.
| Vector Dragengine.Preloading.StubWorldDecal.getRotation | ( | ) |
Rotation.
| Vector Dragengine.Preloading.StubWorldDecal.getSize | ( | ) |
Size.
| Skin Dragengine.Preloading.StubWorldDecal.getSkin | ( | ) |
Skin.
| String Dragengine.Preloading.StubWorldDecal.getTextureName | ( | ) |
Texture name.
| TexMatrix2 Dragengine.Preloading.StubWorldDecal.getTransform | ( | ) |
Texture coordinates transformation or null to not replace the transformation.
| bool Dragengine.Preloading.StubWorldDecal.getVisible | ( | ) |
Visiblity.
| void Dragengine.Preloading.StubWorldDecal.loadResources | ( | ) |
Load resources.
| StubWorldDecal Dragengine.Preloading.StubWorldDecal.new | ( | ) |
Create stub decal.
Reimplemented from Dragengine.Preloading.StubWithProperties.
| StubWorldDecal Dragengine.Preloading.StubWorldDecal.new | ( | StubWorldDecal | stub | ) |
Create copy of element stub.
| void Dragengine.Preloading.StubWorldDecal.preloadResources | ( | ) |
Add preload resources.
| void Dragengine.Preloading.StubWorldDecal.setColorTint | ( | Color | color | ) |
Set color tint or null to not replace the color tint.
| void Dragengine.Preloading.StubWorldDecal.setCounter | ( | PreloadCounter | counter | ) |
Set counter.
| void Dragengine.Preloading.StubWorldDecal.setPathSkin | ( | String | pathSkin | ) |
Set skin path.
| void Dragengine.Preloading.StubWorldDecal.setPosition | ( | DVector | position | ) |
Set position.
| void Dragengine.Preloading.StubWorldDecal.setRotation | ( | Vector | rotation | ) |
Set rotation.
| void Dragengine.Preloading.StubWorldDecal.setSize | ( | Vector | size | ) |
Set size.
| void Dragengine.Preloading.StubWorldDecal.setTextureName | ( | String | textureName | ) |
Set texture name.
| void Dragengine.Preloading.StubWorldDecal.setTransform | ( | TexMatrix2 | transform | ) |
Set texture coordinates transformation or null to not replace the transformation.
| void Dragengine.Preloading.StubWorldDecal.setVisible | ( | bool | visible | ) |
Set visibility.
| bool Dragengine.Preloading.StubWorldDecal.verifyPreloading | ( | Console | console | ) |
Verify resource failed loading and print the problems to the console.
| Color Dragengine.Preloading.StubWorldDecal.pColorTint |
| PreloadCounter Dragengine.Preloading.StubWorldDecal.pCounter |
| DMatrix Dragengine.Preloading.StubWorldDecal.pMatrix |
| String Dragengine.Preloading.StubWorldDecal.pPathSkin |
| DVector Dragengine.Preloading.StubWorldDecal.pPosition |
| Vector Dragengine.Preloading.StubWorldDecal.pRotation |
| Skin Dragengine.Preloading.StubWorldDecal.pSkin |
| String Dragengine.Preloading.StubWorldDecal.pTextureName |
| TexMatrix2 Dragengine.Preloading.StubWorldDecal.pTransform |
| bool Dragengine.Preloading.StubWorldDecal.pVisible |