Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
TerrainExportTool Interface Reference
Inheritance diagram for TerrainExportTool:
[legend]

Public Member Functions

override void OnMouseMoveEvent (float x, float y)
 
override void OnMousePressEvent (float x, float y, WETMouseButtonFlag buttons)
 
override void OnKeyPressEvent (KeyCode key, bool isAutoRepeat)
 
override void OnActivate ()
 
override void OnDeActivate ()
 
array< floatGetHeightArray (float xMax, float zMax, float xMin, float zMin, WorldEditorAPI api, float cellSize)
 
float SnapToVertex (float coord, float cellSize)
 
- Public Member Functions inherited from WorldEditorTool
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)
 

Public Attributes

bool m_bRectangleSelection
 
int m_iWidth
 
int m_iLength
 
vector m_vStartLocation
 
vector m_vEndLocation
 
string m_sBlenderPath
 
ref DebugTextScreenSpace m_text
 
ref DebugTextScreenSpace m_crossHair
 
vector previousPoint3D
 
ref Shape polyline
 
vector currentPoint3D
 
vector line [8]
 
vector startPosition
 
bool clicked = false
 
- Public Attributes inherited from WorldEditorTool
WorldEditorAPI m_API
 

Protected Member Functions

void Execute ()
 
void CoordsReload ()
 
void ScaleReload ()
 

Additional Inherited Members

- Static Public Member Functions inherited from WorldEditorTool
static proto bool GetModifierKeyState (ModifierKey key)
 key is of type ModifierKey
 
static proto void UpdatePropertyPanel ()
 

Member Function Documentation

◆ CoordsReload()

void TerrainExportTool.CoordsReload ( )
protected

◆ Execute()

void TerrainExportTool.Execute ( )
protected

◆ GetHeightArray()

array< float > TerrainExportTool.GetHeightArray ( float  xMax,
float  zMax,
float  xMin,
float  zMin,
WorldEditorAPI  api,
float  cellSize 
)

◆ OnActivate()

override void TerrainExportTool.OnActivate ( )

Implements WorldEditorTool.

◆ OnDeActivate()

override void TerrainExportTool.OnDeActivate ( )

Implements WorldEditorTool.

◆ OnKeyPressEvent()

override void TerrainExportTool.OnKeyPressEvent ( KeyCode  key,
bool  isAutoRepeat 
)

Implements WorldEditorTool.

◆ OnMouseMoveEvent()

override void TerrainExportTool.OnMouseMoveEvent ( float  x,
float  y 
)

Implements WorldEditorTool.

◆ OnMousePressEvent()

override void TerrainExportTool.OnMousePressEvent ( float  x,
float  y,
WETMouseButtonFlag  buttons 
)

Implements WorldEditorTool.

◆ ScaleReload()

void TerrainExportTool.ScaleReload ( )
protected

◆ SnapToVertex()

float TerrainExportTool.SnapToVertex ( float  coord,
float  cellSize 
)

Member Data Documentation

◆ clicked

bool TerrainExportTool.clicked = false

◆ currentPoint3D

vector TerrainExportTool.currentPoint3D

◆ line

vector TerrainExportTool.line[8]

◆ m_bRectangleSelection

bool TerrainExportTool.m_bRectangleSelection

◆ m_crossHair

ref DebugTextScreenSpace TerrainExportTool.m_crossHair

◆ m_iLength

int TerrainExportTool.m_iLength

◆ m_iWidth

int TerrainExportTool.m_iWidth

◆ m_sBlenderPath

string TerrainExportTool.m_sBlenderPath

◆ m_text

ref DebugTextScreenSpace TerrainExportTool.m_text

◆ m_vEndLocation

vector TerrainExportTool.m_vEndLocation

◆ m_vStartLocation

vector TerrainExportTool.m_vStartLocation

◆ polyline

ref Shape TerrainExportTool.polyline

◆ previousPoint3D

vector TerrainExportTool.previousPoint3D

◆ startPosition

vector TerrainExportTool.startPosition

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