Drag[en]gine Script Module DragonScript
1.23
|
Public Member Functions | |
Constructors | |
CanvasVideoPlayer | new () |
Create canvas video player. More... | |
Management | |
VideoPlayer | getVideoPlayer () |
Video player or null if not set. More... | |
void | setVideoPlayer (VideoPlayer videoPlayer) |
Set video player or null to unset. More... | |
int | getRepeatX () |
Repeat count along X axis. More... | |
void | setRepeatX (int count) |
Set repeat count along X axis. More... | |
int | getRepeatY () |
Repeat count along Y axis. More... | |
void | setRepeatY (int count) |
Set repeat count along Y axis. More... | |
bool | equals (Object other) |
Canvas is equal to another object. More... | |
int | hashCode () |
Hash code for use as dictionary keys. More... | |
Public Member Functions inherited from Dragengine.Scenery.Canvas | |
Point | getPosition () |
Position in parent canvas view units. More... | |
void | setPosition (Point position) |
Set position in parent canvas view units. More... | |
Point | getSize () |
Size in parent canvas view units. More... | |
void | setSize (Point size) |
Set size in parent canvas view units. More... | |
TexMatrix2 | getTransform () |
Transformation matrix affecting the canvas and all its content. More... | |
void | setTransform (TexMatrix2 transform) |
Set transformation matrix affecting the canvas and all its content. More... | |
ColorMatrix | getColorTransform () |
Color transformation matrix affecting the canvas and all its content. More... | |
void | setColorTransform (ColorMatrix transform) |
Set color transformation matrix affecting the canvas and all its content. More... | |
bool | getVisible () |
Canvas is visible. More... | |
void | setVisible (bool visible) |
Set if canvas is visible. More... | |
float | getOrder () |
Render order. Larger renders ontop of smaller. More... | |
void | setOrder (float order) |
Set render order. Larger renders ontop of smaller. More... | |
float | getTransparency () |
Transparency in the range from 0 to 1 where 1 is opaque and 0 fully transparent. More... | |
void | setTransparency (float transparency) |
Set transparency in the range from 0 to 1 where 1 is opaque and 0 fully transparent. More... | |
CanvasBlendMode | getBlendMode () |
Blend mode used to blend canvas over previous content. More... | |
void | setBlendMode (CanvasBlendMode blendMode) |
Set blend mode used to blend canvas over previous content. More... | |
Canvas | getMask () |
Mask canvas or null. More... | |
void | setMask (Canvas mask) |
Set mask canvas or null. More... | |
CanvasView | getParentView () |
Parent canvas view or null. More... | |
Canvas | getParentMask () |
Parent canvas mask or null. More... | |
Additional Inherited Members | |
Constructors |
Canvas video player.
This is a native class.
bool Dragengine.Scenery.CanvasVideoPlayer.equals | ( | Object | other | ) |
Canvas is equal to another object.
Implements Object.equals(Object).
Reimplemented from Dragengine.Scenery.Canvas.
int Dragengine.Scenery.CanvasVideoPlayer.getRepeatX | ( | ) |
Repeat count along X axis.
int Dragengine.Scenery.CanvasVideoPlayer.getRepeatY | ( | ) |
Repeat count along Y axis.
VideoPlayer Dragengine.Scenery.CanvasVideoPlayer.getVideoPlayer | ( | ) |
Video player or null if not set.
int Dragengine.Scenery.CanvasVideoPlayer.hashCode | ( | ) |
Hash code for use as dictionary keys.
Implements Object.hashCode().
Reimplemented from Dragengine.Scenery.Canvas.
CanvasVideoPlayer Dragengine.Scenery.CanvasVideoPlayer.new | ( | ) |
Create canvas video player.
Reimplemented from Dragengine.Scenery.Canvas.
void Dragengine.Scenery.CanvasVideoPlayer.setRepeatX | ( | int | count | ) |
Set repeat count along X axis.
void Dragengine.Scenery.CanvasVideoPlayer.setRepeatY | ( | int | count | ) |
Set repeat count along Y axis.
void Dragengine.Scenery.CanvasVideoPlayer.setVideoPlayer | ( | VideoPlayer | videoPlayer | ) |
Set video player or null to unset.