Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
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.
CommandScreenshot new (ScreenshotCreator screenshotCreator)
 Create screenshot command.
CommandScreenshot new (ScreenshotCreator screenshotCreator, String name, String description)
 Create screenshot command.
void start ()
 Start command.
Public Member Functions inherited from Dragengine.Commands.Command
void analogAbsolute (Binding binding, float value)
 Absolute input device axis position changed.
void analogAbsolute (float value)
 Absolute input device axis position changed.
void analogRelative (Binding binding, float value)
 Relative input device axis position changed.
void analogRelative (float value)
 Relative input device axis position changed.
void approach ()
 User finger approached device button.
void approach (Binding binding)
 User finger approached device button.
String getDescription ()
 Description.
String getDisplayName ()
 Display name or null.
String getName ()
 Unique name.
String getTranslateDescription ()
 Translation description or null.
String getTranslateDisplayName ()
 Translation display name or null.
Command new ()
 Create command.
Command new (String name, String description)
 Create command.
void pulse ()
 Convenience method calling start() and stop() in succession.
void pulse (Binding binding)
 Convenience method calling start() and stop() in succession.
void setDescription (String description)
 Set description.
void setDisplayName (String displayName)
 Set display name or null.
void setName (String name)
 Set unique name of the command.
void setTranslateDescription (String translateName)
 Set translate description or null.
void setTranslateDisplayName (String translateName)
 Set translate display name or null.
void start (Binding binding)
 Input device key or button has been pressed.
void stop ()
 Input device key or button has been released.
void stop (Binding binding)
 Input device key or button has been released.
void touch ()
 Input device button has been touched.
void touch (Binding binding)
 Input device button has been touched.
String translateDescription ()
 Translated command description using default TranslationManager.
String translateDescription (TranslationManager translationManager)
 Translated command description.
String translateDisplayName ()
 Translated display name using default TranslationManager.
String translateDisplayName (TranslationManager translationManager)
 Translated display name.
void untouch ()
 Input device button has been untouched.
void untouch (Binding binding)
 Input device button has been untouched.
void withdraw ()
 User finger withdrew from device button.
void withdraw (Binding binding)
 User finger withdrew from device button.

Additional Inherited Members

Public Attributes inherited from Dragengine.Commands.Command
String pName

Detailed Description

Command for taking screenshots using a ScreenshotCreator,.

Member Function Documentation

◆ getScreenshotCreator()

ScreenshotCreator Dragengine.Commands.CommandScreenshot.getScreenshotCreator ( )

◆ new() [1/2]

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

Create screenshot command.

References new().

Referenced by getScreenshotCreator(), new(), and new().

◆ new() [2/2]

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

Create screenshot command.

References new().

◆ start()

void Dragengine.Commands.CommandScreenshot.start ( )

Start command.

Called if an input key has been pressed.

Reimplemented from Dragengine.Commands.Command.

References getScreenshotCreator(), and start().

Referenced by start().


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