Drag[en]gine Script Module DragonScript
1.23
|
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... | |
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.
int Dragengine.Scenery.SkyLink.getController | ( | ) |
Controller index or -1 if not assigned.
CurveBezier Dragengine.Scenery.SkyLink.getCurve | ( | ) |
Curve mapping controller value to property value.
int Dragengine.Scenery.SkyLink.getLinkIndex | ( | ) |
Link index.
int Dragengine.Scenery.SkyLink.getRepeat | ( | ) |
Link repeat.
Sky Dragengine.Scenery.SkyLink.getSky | ( | ) |
Owner sky.
void Dragengine.Scenery.SkyLink.setController | ( | int | controller | ) |
Set controller index or -1 if not assigned.
void Dragengine.Scenery.SkyLink.setCurve | ( | CurveBezier | curve | ) |
Set curve mapping controller value to property value.
Can be null to set an empty curve.
void Dragengine.Scenery.SkyLink.setRepeat | ( | int | repeat | ) |
Set link repeat.