Drag[en]gine Script Module DragonScript Script API  1.0
Sky Class Reference

Sky. More...

Inheritance diagram for Sky:

Public Member Functions

Constructors
Sky new ()
 Create sky. More...
 
Management
Color getBgColor ()
 Background color. More...
 
void setBgColor (Color color)
 Set background color. More...
 
int getControllerCount ()
 Number of controllers. More...
 
void setControllerCount (int count)
 Set number of controllers. More...
 
SkyController getControllerAt (int index)
 Get wrapper for controller. More...
 
int getLinkCount ()
 Number of links. More...
 
void setLinkCount (int count)
 Set number of links. More...
 
SkyLink getLinkAt (int index)
 Get wrapper for link. More...
 
int getLayerCount ()
 Number of layers. More...
 
void setLayerCount (int count)
 Set number of layers. More...
 
SkyLayer getLayerAt (int index)
 Get wrapper for layer. More...
 
void contentChanged ()
 Notify peer parameters changed. More...
 

Detailed Description

Sky.

This is a native class.

Member Function Documentation

◆ contentChanged()

void contentChanged ( )

Notify peer parameters changed.

Use after changing one or more parameters. If possible avoid changing parameters while sky instances use this sky.

◆ getBgColor()

Color getBgColor ( )

Background color.

◆ getControllerAt()

SkyController getControllerAt ( int  index)

Get wrapper for controller.

Warning
The wrapper is only valid as long as the controller structure in the parent sky is not changed.
Exceptions
EOutOfBoundarycontroller is less than 0 or larger than or equal to getControllerCount().

◆ getControllerCount()

int getControllerCount ( )

Number of controllers.

◆ getLayerAt()

SkyLayer getLayerAt ( int  index)

Get wrapper for layer.

Warning
The wrapper is only valid as long as the layer structure in the parent sky is not changed.
Exceptions
EOutOfBoundarylayer is less than 0 or larger than or equal to getLayerCount().

◆ getLayerCount()

int getLayerCount ( )

Number of layers.

◆ getLinkAt()

SkyLink getLinkAt ( int  index)

Get wrapper for link.

Warning
The wrapper is only valid as long as the link structure in the parent sky is not changed.
Exceptions
EOutOfBoundarylink is less than 0 or larger than or equal to getLinkCount().

◆ getLinkCount()

int getLinkCount ( )

Number of links.

◆ new()

Sky new ( )

Create sky.

◆ setBgColor()

void setBgColor ( Color  color)

Set background color.

◆ setControllerCount()

void setControllerCount ( int  count)

Set number of controllers.

Sets all controllers to default vaules.

◆ setLayerCount()

void setLayerCount ( int  count)

Set number of layers.

Sets all layers to default vaules.

◆ setLinkCount()

void setLinkCount ( int  count)

Set number of links.

Sets all links to default vaules.


The documentation for this class was generated from the following file: