|
Drag[en]gine Script Module DragonScript 1.32.1
|
Construct dynamic skin item property. More...
Public Member Functions | |
| Canvas | getCanvas () |
| Created canvas or null. | |
| Color | getColor () |
| Color to sue. | |
| Image | getImage () |
| Image to sue. | |
| String | getName () |
| Texture property name. | |
| ConstructedDynamicSkinProperty | new (String name, Color color) |
| Create constructed dynamic skin item property. | |
| ConstructedDynamicSkinProperty | new (String name, float value) |
| Create constructed dynamic skin item property. | |
| ConstructedDynamicSkinProperty | new (String name, Image image) |
| Create constructed dynamic skin item property. | |
| void | setCanvas (Canvas canvas) |
| Set created canvas or null. | |
| void | setColor (Color color) |
| Set color to sue. | |
Construct dynamic skin item property.
Defines the image to use for a texture property. Stores also the created canvas if the parent ConstructedDynamicSkinItem is placed in a ConstructedDynamicSkin.
Once created the property is immutable except for the canvas which has to be only modified by ConstructedDynamicSkin.
| Canvas Dragengine.Utils.ConstructedDynamicSkinProperty.getCanvas | ( | ) |
Created canvas or null.
| Color Dragengine.Utils.ConstructedDynamicSkinProperty.getColor | ( | ) |
Color to sue.
| Image Dragengine.Utils.ConstructedDynamicSkinProperty.getImage | ( | ) |
Image to sue.
| String Dragengine.Utils.ConstructedDynamicSkinProperty.getName | ( | ) |
Texture property name.
| ConstructedDynamicSkinProperty Dragengine.Utils.ConstructedDynamicSkinProperty.new | ( | String | name, |
| Color | color | ||
| ) |
Create constructed dynamic skin item property.
| ConstructedDynamicSkinProperty Dragengine.Utils.ConstructedDynamicSkinProperty.new | ( | String | name, |
| float | value | ||
| ) |
Create constructed dynamic skin item property.
| ConstructedDynamicSkinProperty Dragengine.Utils.ConstructedDynamicSkinProperty.new | ( | String | name, |
| Image | image | ||
| ) |
Create constructed dynamic skin item property.
| void Dragengine.Utils.ConstructedDynamicSkinProperty.setCanvas | ( | Canvas | canvas | ) |
Set created canvas or null.
| void Dragengine.Utils.ConstructedDynamicSkinProperty.setColor | ( | Color | color | ) |
Set color to sue.