Drag[en]gine Script Module DragonScript  1.23
Dragengine.Scenery.SkyLink Class Reference

Sky link. More...

Inheritance diagram for Dragengine.Scenery.SkyLink:

Public Member Functions

Management
Sky getSky ()
 Owner sky. More...
 
int getLinkIndex ()
 Link index. More...
 
Links
int getController ()
 Controller index or -1 if not assigned. More...
 
void setController (int controller)
 Set controller index or -1 if not assigned. More...
 
CurveBezier getCurve ()
 Curve mapping controller value to property value. More...
 
void setCurve (CurveBezier curve)
 Set curve mapping controller value to property value. More...
 
int getRepeat ()
 Link repeat. More...
 
void setRepeat (int repeat)
 Set link repeat. More...
 

Detailed Description

Sky link.

Wraps a sky link by link index. Valid only as long as the wrapped sky does not change link layout. The user is responsible to call Sky.contentChanged() after changing one or more links. Sky links should not be changed if possible after being used in sky instances.

This is a native class.

Member Function Documentation

◆ getController()

int Dragengine.Scenery.SkyLink.getController ( )

Controller index or -1 if not assigned.

◆ getCurve()

CurveBezier Dragengine.Scenery.SkyLink.getCurve ( )

Curve mapping controller value to property value.

◆ getLinkIndex()

int Dragengine.Scenery.SkyLink.getLinkIndex ( )

Link index.

◆ getRepeat()

int Dragengine.Scenery.SkyLink.getRepeat ( )

Link repeat.

◆ getSky()

Sky Dragengine.Scenery.SkyLink.getSky ( )

Owner sky.

◆ setController()

void Dragengine.Scenery.SkyLink.setController ( int  controller)

Set controller index or -1 if not assigned.

◆ setCurve()

void Dragengine.Scenery.SkyLink.setCurve ( CurveBezier  curve)

Set curve mapping controller value to property value.

Can be null to set an empty curve.

◆ setRepeat()

void Dragengine.Scenery.SkyLink.setRepeat ( int  repeat)

Set link repeat.


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