Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.MainMenus.Interactive.IMMCameraSpot Class Reference

Camera spot for InteractiveMainMenu. More...

Inheritance diagram for Dragengine.Gui.MainMenus.Interactive.IMMCameraSpot:
Dragengine.Scenery.Element

Public Member Functions

String getName ()
 Unique name of spot. More...
 
void init (StubElement stub)
 Initialize element from stub. More...
 
IMMCameraSpot new (IMMCameraSpotClass eclass)
 Create element. More...
 
void visit (ElementVisitor visitor)
 Visit element. More...
 
- Public Member Functions inherited from Dragengine.Scenery.Element
void addToGameWorld ()
 
Dictionary debugInformation ()
 Debug information as Dictionary. More...
 
void dispose ()
 Dispose of element. More...
 
void enterFrame ()
 Frame update started. More...
 
ElementClass getClass ()
 
DMatrix getElementMatrix ()
 Matrix to transform from element space into world space. More...
 
GameWorld getGameWorld ()
 
UniqueID getID ()
 
DMatrix getInverseElementMatrix ()
 Matrix to transform from world space into element space. More...
 
bool getIsScaled ()
 Is scaled. More...
 
Quaternion getOrientation ()
 Orientation. More...
 
Element getParent ()
 
DVector getPosition ()
 Position. More...
 
Vector getScaling ()
 Scaling. More...
 
StubElement getStub ()
 Element stub used to create the element. More...
 
bool getTouchable ()
 
bool getVisible ()
 
bool isChildOf (Element parent)
 
bool isDisposed ()
 Element has been disposed of. More...
 
bool isMyselfOrChildOf (Element parent)
 
bool isNotDisposed ()
 Element has not been disposed of. More...
 
void log (String message)
 Log using BaseGameApp Console if present. More...
 
Element new (ElementClass elementClass)
 
void onSetGameWorld ()
 
void onSetGeometry ()
 Position, orientation or scaling changed. More...
 
void onSetOrientation ()
 Orientation changed. More...
 
void onSetParent ()
 
void onSetPosition ()
 Position changed. More...
 
void onSetScaling ()
 Scaling changed. More...
 
void onSetTouchable ()
 
void onSetVisible ()
 
void postThink (float elapsed)
 
void readFromFile (PersistencyEnvironment env, FileReader reader)
 Read element from file reader. More...
 
void removeFromGameWorld ()
 
void removeFromGameWorldIfPresent ()
 Remove element from game world if present. More...
 
void safeDispose ()
 Remove element from game world if present and dispose of element. More...
 
void setGameWorld (GameWorld gameWorld)
 
void setGeometry (DVector position, Quaternion orientation)
 Set position and orientation. More...
 
void setGeometry (DVector position, Quaternion orientation, Vector scaling)
 Set position, orientation and scaling of element. More...
 
void setID (UniqueID id)
 
void setOrientation (Quaternion orientation)
 Set orientation. More...
 
void setParent (Element parent)
 
void setPosition (DVector position)
 Set position. More...
 
void setScaling (Vector scaling)
 Set scaling. More...
 
void setStub (StubElement stub)
 Set element stub used to create the element. More...
 
void setTouchable (bool touchable)
 
void setVisible (bool visible)
 
void think (float elapsed)
 
String toString ()
 
void updateStubGeometryFromElement ()
 Update stub position, rotation and scaling from element. More...
 
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write element to file writer. More...
 
void writeToFileWithStub (PersistencyEnvironment env, FileWriter writer)
 Write element to file writer with stub. More...
 

Protected Member Functions

void setName (String name)
 Set unique name of spot. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Dragengine.Scenery.Element
static Element readElementFromFileWithStub (PersistencyEnvironment env, FileReader reader, ElementClassList ElementClassList)
 Load element from file reader with stub supporting null element. More...
 
static void writeElementToFileWithStub (PersistencyEnvironment env, FileWriter writer, Element element)
 Write element to file writer with stub supporting null element. More...
 
- Public Attributes inherited from Dragengine.Scenery.Element
ElementClass pClass
 
GameWorld pGameWorld
 
UniqueID pID
 
bool pIsScaled
 
DMatrix pMatrix
 
DMatrix pMatrixInverse
 
Quaternion pOrientation
 
Element pParent
 
DVector pPosition
 
Vector pScaling
 
StubElement pStub
 
bool pTouchable
 
bool pVisible
 

Detailed Description

Camera spot for InteractiveMainMenu.

Defines the camera position and orientation to focus on a hot-spot. Camera spots are identified using a unique name. Each hot-spot can defines the camera spot to use when the hot spot is active.

Member Function Documentation

◆ getName()

String Dragengine.Gui.MainMenus.Interactive.IMMCameraSpot.getName ( )

Unique name of spot.

◆ init()

void Dragengine.Gui.MainMenus.Interactive.IMMCameraSpot.init ( StubElement  stub)

Initialize element from stub.

Reimplemented from Dragengine.Scenery.Element.

◆ new()

IMMCameraSpot Dragengine.Gui.MainMenus.Interactive.IMMCameraSpot.new ( IMMCameraSpotClass  eclass)

Create element.

◆ setName()

void Dragengine.Gui.MainMenus.Interactive.IMMCameraSpot.setName ( String  name)
protected

Set unique name of spot.

◆ visit()

void Dragengine.Gui.MainMenus.Interactive.IMMCameraSpot.visit ( ElementVisitor  visitor)

Visit element.

Reimplemented from Dragengine.Scenery.Element.


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