Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.MousePointers.VideoMousePointer Class Reference

Mouse pointer using video. More...

Inheritance diagram for Dragengine.Gui.MousePointers.VideoMousePointer:
Dragengine.Gui.MousePointers.DefaultMousePointer Dragengine.Gui.MousePointer

Classes

class  PlaybackTimer
 Playback timer. More...
 

Public Member Functions

VideoMousePointer destructor ()
 Destructor. More...
 
Video getVideo ()
 Video or null if not set. More...
 
VideoPlayer getVideoPlayer ()
 Video player or null if not set. More...
 
VideoMousePointer new ()
 Create mouse pointer. More...
 
void setVideo (Video video)
 Set video. More...
 
void updateCanvas ()
 Update canvas. More...
 
- Public Member Functions inherited from Dragengine.Gui.MousePointers.DefaultMousePointer
Canvas getCanvas ()
 Canvas to render mouse pointer with. More...
 
CanvasView getCanvasView ()
 Canvas to render mouse pointer with. More...
 
Point getOffset ()
 Canvas offset relative to mouse pointer position. More...
 
Point getPosition ()
 Mouse position. More...
 
Point getSize ()
 Mouse pointer size. More...
 
TexMatrix2 getTransformation ()
 Transformation or null if not set. More...
 
float getTransparency ()
 Transparency. More...
 
DefaultMousePointer new (Point size)
 Create mouse pointer. More...
 
DefaultMousePointer new (Point size, Point offset)
 Create mouse pointer. More...
 
DefaultMousePointer new (Point size, Point offset, float transparency)
 Create mouse pointer. More...
 
void setOffset (Point offset)
 Set canvas X offset relative to mouse pointer position. More...
 
void setPosition (Point position)
 Set mouse position. More...
 
void setSize (Point size)
 Set mouse pointer size. More...
 
void setTransformation (TexMatrix2 transformation)
 Set transformation or null if not set. More...
 
void setTransparency (float transparency)
 Set the transparency. More...
 

Public Attributes

PlaybackTimer pTimer
 Playback timer. More...
 
VideoPlayer pVideoPlayer
 Video player. More...
 
- Public Attributes inherited from Dragengine.Gui.MousePointers.DefaultMousePointer
CanvasView pCanvas
 
Point pOffset
 
Point pPosition
 
TexMatrix2 pTransformation
 

Detailed Description

Mouse pointer using video.

Member Function Documentation

◆ destructor()

VideoMousePointer Dragengine.Gui.MousePointers.VideoMousePointer.destructor ( )

Destructor.

◆ getVideo()

Video Dragengine.Gui.MousePointers.VideoMousePointer.getVideo ( )

Video or null if not set.

◆ getVideoPlayer()

VideoPlayer Dragengine.Gui.MousePointers.VideoMousePointer.getVideoPlayer ( )

Video player or null if not set.

◆ new()

VideoMousePointer Dragengine.Gui.MousePointers.VideoMousePointer.new ( )

Create mouse pointer.

Reimplemented from Dragengine.Gui.MousePointers.DefaultMousePointer.

◆ setVideo()

void Dragengine.Gui.MousePointers.VideoMousePointer.setVideo ( Video  video)

Set video.

◆ updateCanvas()

void Dragengine.Gui.MousePointers.VideoMousePointer.updateCanvas ( )

Update canvas.

Member Data Documentation

◆ pTimer

PlaybackTimer Dragengine.Gui.MousePointers.VideoMousePointer.pTimer

Playback timer.

◆ pVideoPlayer

VideoPlayer Dragengine.Gui.MousePointers.VideoMousePointer.pVideoPlayer

Video player.


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