Drag[en]gine Script Module DragonScript  1.23
Dragengine.Commands.CommandScreenshot Class Reference

Command for taking screenshots using a ScreenshotCreator,. More...

Inheritance diagram for Dragengine.Commands.CommandScreenshot:
Dragengine.Commands.Command

Public Member Functions

ScreenshotCreator getScreenshotCreator ()
 Screenshot creator. More...
 
CommandScreenshot new (ScreenshotCreator screenshotCreator)
 Create screenshot command. More...
 
CommandScreenshot new (ScreenshotCreator screenshotCreator, String name, String description)
 Create screenshot command. More...
 
void start ()
 Start command. More...
 
- Public Member Functions inherited from Dragengine.Commands.Command
void analogAbsolute (float value)
 Absolute input device axis position changed. More...
 
void analogRelative (float value)
 Relative input device axis position changed. More...
 
String getDescription ()
 Description. More...
 
String getDisplayName ()
 Display name or null. More...
 
String getName ()
 Unique name. More...
 
String getTranslateDescription ()
 Translation description or null. More...
 
String getTranslateDisplayName ()
 Translation display name or null. More...
 
Command new ()
 Create command. More...
 
Command new (String name, String description)
 Create command. More...
 
void pulse ()
 Convenience method calling start() and stop() in succession. More...
 
void setDescription (String description)
 Set description. More...
 
void setDisplayName (String displayName)
 Set display name or null. More...
 
void setName (String name)
 Set unique name of the command. More...
 
void setTranslateDescription (String translateName)
 Set translate description or null. More...
 
void setTranslateDisplayName (String translateName)
 Set translate display name or null. More...
 
void stop ()
 Input device key or button has been released. More...
 
void touch ()
 Input device button has been touched. More...
 
String translateDescription ()
 Translated command description using default TranslationManager. More...
 
String translateDescription (TranslationManager translationManager)
 Translated command description. More...
 
String translateDisplayName ()
 Translated display name using default TranslationManager. More...
 
String translateDisplayName (TranslationManager translationManager)
 Translated display name. More...
 
void untouch ()
 Input device button has been untouched. More...
 

Detailed Description

Command for taking screenshots using a ScreenshotCreator,.

Member Function Documentation

◆ getScreenshotCreator()

ScreenshotCreator Dragengine.Commands.CommandScreenshot.getScreenshotCreator ( )

Screenshot creator.

◆ new() [1/2]

CommandScreenshot Dragengine.Commands.CommandScreenshot.new ( ScreenshotCreator  screenshotCreator)

Create screenshot command.

◆ new() [2/2]

CommandScreenshot Dragengine.Commands.CommandScreenshot.new ( ScreenshotCreator  screenshotCreator,
String  name,
String  description 
)

Create screenshot command.

◆ start()

void Dragengine.Commands.CommandScreenshot.start ( )

Start command.

Called if an input key has been pressed.

Reimplemented from Dragengine.Commands.Command.


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