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