Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
WorldEditorTool Interface Reference

Script definition class for World Editor Tool. More...

Inheritance diagram for WorldEditorTool:
[legend]

Public Member Functions

void OnKeyPressEvent (KeyCode key, bool isAutoRepeat)
 
void OnKeyReleaseEvent (KeyCode key, bool isAutoRepeat)
 
void OnEnterEvent ()
 
void OnLeaveEvent ()
 
void OnMouseMoveEvent (float x, float y)
 
void OnMouseDoubleClickEvent (float x, float y, WETMouseButtonFlag buttons)
 
void OnMousePressEvent (float x, float y, WETMouseButtonFlag buttons)
 
void OnMouseReleaseEvent (float x, float y, WETMouseButtonFlag buttons)
 
void OnWheelEvent (int delta)
 
void OnActivate ()
 
void OnDeActivate ()
 
void OnAfterLoadWorld ()
 
void OnBeforeUnloadWorld ()
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Static Public Member Functions

static proto bool GetModifierKeyState (ModifierKey key)
 key is of type ModifierKey
 
static proto void UpdatePropertyPanel ()
 

Public Attributes

WorldEditorAPI m_API
 

Detailed Description

Script definition class for World Editor Tool.

Member Function Documentation

◆ GetModifierKeyState()

static proto bool WorldEditorTool.GetModifierKeyState ( ModifierKey  key)
static

key is of type ModifierKey

◆ OnActivate()

void WorldEditorTool.OnActivate ( )

Implemented in MeasureTool, and TerrainExportTool.

◆ OnAfterLoadWorld()

void WorldEditorTool.OnAfterLoadWorld ( )

◆ OnBeforeUnloadWorld()

void WorldEditorTool.OnBeforeUnloadWorld ( )

◆ OnDeActivate()

void WorldEditorTool.OnDeActivate ( )

Implemented in MeasureTool, and TerrainExportTool.

◆ OnEnterEvent()

void WorldEditorTool.OnEnterEvent ( )

◆ OnKeyPressEvent()

void WorldEditorTool.OnKeyPressEvent ( KeyCode  key,
bool  isAutoRepeat 
)

Implemented in MeasureTool, and TerrainExportTool.

◆ OnKeyReleaseEvent()

void WorldEditorTool.OnKeyReleaseEvent ( KeyCode  key,
bool  isAutoRepeat 
)

◆ OnLeaveEvent()

void WorldEditorTool.OnLeaveEvent ( )

◆ OnMouseDoubleClickEvent()

void WorldEditorTool.OnMouseDoubleClickEvent ( float  x,
float  y,
WETMouseButtonFlag  buttons 
)

◆ OnMouseMoveEvent()

void WorldEditorTool.OnMouseMoveEvent ( float  x,
float  y 
)

Implemented in MeasureTool, and TerrainExportTool.

◆ OnMousePressEvent()

void WorldEditorTool.OnMousePressEvent ( float  x,
float  y,
WETMouseButtonFlag  buttons 
)

Implemented in MeasureTool, and TerrainExportTool.

◆ OnMouseReleaseEvent()

void WorldEditorTool.OnMouseReleaseEvent ( float  x,
float  y,
WETMouseButtonFlag  buttons 
)

◆ OnWheelEvent()

void WorldEditorTool.OnWheelEvent ( int  delta)

◆ UpdatePropertyPanel()

static proto void WorldEditorTool.UpdatePropertyPanel ( )
static

Member Data Documentation

◆ m_API

WorldEditorAPI WorldEditorTool.m_API

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