Drag[en]gine Script Module DragonScript
1.23
|
Construct dynamic skin item property. More...
Public Member Functions | |
Canvas | getCanvas () |
Created canvas or null. More... | |
Color | getColor () |
Color to sue. More... | |
Image | getImage () |
Image to sue. More... | |
String | getName () |
Texture property name. More... | |
ConstructedDynamicSkinProperty | new (String name, Color color) |
Create constructed dynamic skin item property. More... | |
ConstructedDynamicSkinProperty | new (String name, float value) |
Create constructed dynamic skin item property. More... | |
ConstructedDynamicSkinProperty | new (String name, Image image) |
Create constructed dynamic skin item property. More... | |
void | setCanvas (Canvas canvas) |
Set created canvas or null. More... | |
void | setColor (Color color) |
Set color to sue. More... | |
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.