|
| bool | IsAngleBad (vector position, out float angle, float prevY, float nextY, float step, float minAngleDifferenceRad, TraceParam traceParam, BaseWorld world) |
| |
◆ ButtonCancel()
| int SCR_TerrainEdgesFinderPlugin.ButtonCancel |
( |
| ) |
|
|
protected |
◆ ButtonProcess()
| int SCR_TerrainEdgesFinderPlugin.ButtonProcess |
( |
| ) |
|
|
protected |
◆ GetSuspectVertices()
| void SCR_TerrainEdgesFinderPlugin.GetSuspectVertices |
( |
notnull out array< vector > | vertices, |
|
|
out notnull array< float > | angles ) |
|
protected |
◆ GetTerrainHeightmaps()
| array< ref array< ref array< float > > > SCR_TerrainEdgesFinderPlugin.GetTerrainHeightmaps |
( |
| ) |
|
|
protected |
- Returns
- array(x) of array(y) of tiles
◆ IsAngleBad()
| bool SCR_TerrainEdgesFinderPlugin.IsAngleBad |
( |
vector | position, |
|
|
out float | angle, |
|
|
float | prevY, |
|
|
float | nextY, |
|
|
float | step, |
|
|
float | minAngleDifferenceRad, |
|
|
TraceParam | traceParam, |
|
|
BaseWorld | world ) |
- Parameters
-
| [in] | position | currY is position[1] |
| [out] | angle | in range [0..180[, 0 being same slope as before, 180 being the pointiest vertice ever seen |
| [in] | prevY | |
| [in] | nextY | |
| [in] | step | |
| [in] | minAngleDifferenceRad | |
| [in] | traceParam | null = no trace |
| [in] | world | |
- Returns
◆ Run()
| override void SCR_TerrainEdgesFinderPlugin.Run |
( |
| ) |
|
|
protected |
◆ DEBUG_SHAPE_HEIGHT
| const float SCR_TerrainEdgesFinderPlugin.DEBUG_SHAPE_HEIGHT = 20 |
|
staticprotected |
◆ m_aHeightmaps
| ref array<ref array<ref array<float> > > SCR_TerrainEdgesFinderPlugin.m_aHeightmaps |
|
protected |
◆ m_bDrawDebugShapes
| bool SCR_TerrainEdgesFinderPlugin.m_bDrawDebugShapes |
|
protected |
◆ m_bForceHeightmapRefresh
| bool SCR_TerrainEdgesFinderPlugin.m_bForceHeightmapRefresh |
|
protected |
◆ m_bOutputAsWorkbenchLinks
| bool SCR_TerrainEdgesFinderPlugin.m_bOutputAsWorkbenchLinks |
|
protected |
◆ m_DebugShapeManager
◆ m_eMode
| int SCR_TerrainEdgesFinderPlugin.m_eMode |
|
protected |
0 = everything, 1 = above water, 2 = underwater
◆ m_fEntityTraceOffset
| float SCR_TerrainEdgesFinderPlugin.m_fEntityTraceOffset |
|
protected |
◆ m_fMinAngleDifference
| float SCR_TerrainEdgesFinderPlugin.m_fMinAngleDifference |
|
protected |
◆ m_sLastLoadedWorld
| string SCR_TerrainEdgesFinderPlugin.m_sLastLoadedWorld |
|
protected |
◆ MODE_ABOVE_WATER
| const int SCR_TerrainEdgesFinderPlugin.MODE_ABOVE_WATER = 1 |
|
staticprotected |
◆ MODE_UNDER_WATER
| const int SCR_TerrainEdgesFinderPlugin.MODE_UNDER_WATER = 2 |
|
staticprotected |
◆ PLUGIN_NAME
| const string SCR_TerrainEdgesFinderPlugin.PLUGIN_NAME = "Terrain Edges Finder" |
|
staticprotected |
The documentation for this interface was generated from the following file:
- WorkbenchGame/WorldEditor/SCR_TerrainEdgesFinderPlugin.c