|
override bool | _WB_OnKeyChanged (BaseContainer src, string key, BaseContainerList ownerContainers, IEntity parent) |
|
override void | _WB_OnParentChange (IEntitySource src, IEntitySource prevParentSrc) |
|
override bool | _WB_CanSelect (IEntitySource src) |
|
override void | OnShapeInitInternal (IEntitySource shapeEntitySrc, ShapeEntity shapeEntity) |
|
map< int, ref ShapePointDataScriptBase > | GetFirstPointDataMap (TypeName wantedType=ShapePointDataScriptBase) |
|
map< int, ref array< ref ShapePointDataScriptBase > > | GetPointDataMap (TypeName wantedType=ShapePointDataScriptBase) |
|
override void | _WB_OnCreate (IEntitySource src) |
|
|
override void | OnShapeChangedInternal (IEntitySource shapeEntitySrc, ShapeEntity shapeEntity, array< vector > mins, array< vector > maxes) |
|
void | Process (notnull IEntitySource shapeEntitySrc, notnull ShapeEntity shapeEntity) |
|
void | DrawDebugShapes (notnull SCR_ShapeAnalyser shapeAnalyser) |
|
void | AddDebugLine (vector pointA, vector pointB, bool isImportant=false) |
|
void | DrawErrorShapes (notnull SCR_ShapeAnalyser shapeAnalyser) |
|
void | PrintDebugInfo (notnull SCR_ShapeAnalyser shapeAnalyser) |
|
override void | OnIntersectingShapeChangedXZInternal (IEntitySource shapeEntitySrc, IEntitySource other, array< vector > mins, array< vector > maxes) |
|
void | ResetGeneratorPosition (ShapeEntity shapeEntity=null) |
|
void | DeleteAllChildren () |
| Delete all children without distinction, using WorldEditorAPI.
|
|
array< vector > | GetWorldAnchorPoints (notnull IEntitySource shapeEntitySrc) |
|
array< vector > | GetWorldTesselatedShapePoints (notnull IEntitySource shapeEntitySrc) |
|
Color | GetColor () |
|
void | ColorShape () |
| Set shape's line colour to GetColor() value.
|
|
IEntitySource | GetShapeSource () |
| Get the parent shape above this generator (has to be the direct parent)
|
|
void | SCR_GeneratorBaseEntity (IEntitySource src, IEntity parent) |
|
|
static array< vector > | GetPoints (notnull IEntitySource shapeEntitySrc) |
|
static array< vector > | GetAnchorPoints (notnull IEntitySource shapeEntitySrc, float offset=0, bool isShapeClosed=false) |
|
static array< vector > | GetTesselatedShapePoints (notnull IEntitySource shapeEntitySrc, float offset=0, bool isShapeClosed=false) |
|
◆ _WB_OnKeyChanged()
override bool SCR_ShapeAnalyserEntity._WB_OnKeyChanged |
( |
BaseContainer | src, |
|
|
string | key, |
|
|
BaseContainerList | ownerContainers, |
|
|
IEntity | parent ) |
◆ AddDebugLine()
void SCR_ShapeAnalyserEntity.AddDebugLine |
( |
vector | pointA, |
|
|
vector | pointB, |
|
|
bool | isImportant = false ) |
|
protected |
◆ DrawDebugShapes()
void SCR_ShapeAnalyserEntity.DrawDebugShapes |
( |
notnull SCR_ShapeAnalyser | shapeAnalyser | ) |
|
|
protected |
◆ DrawErrorShapes()
void SCR_ShapeAnalyserEntity.DrawErrorShapes |
( |
notnull SCR_ShapeAnalyser | shapeAnalyser | ) |
|
|
protected |
◆ OnShapeChangedInternal()
override void SCR_ShapeAnalyserEntity.OnShapeChangedInternal |
( |
IEntitySource | shapeEntitySrc, |
|
|
ShapeEntity | shapeEntity, |
|
|
array< vector > | mins, |
|
|
array< vector > | maxes ) |
|
protected |
◆ PrintDebugInfo()
void SCR_ShapeAnalyserEntity.PrintDebugInfo |
( |
notnull SCR_ShapeAnalyser | shapeAnalyser | ) |
|
|
protected |
◆ Process()
void SCR_ShapeAnalyserEntity.Process |
( |
notnull IEntitySource | shapeEntitySrc, |
|
|
notnull ShapeEntity | shapeEntity ) |
|
protected |
◆ ANGLE_ERROR_LINE_LENGTH
float SCR_ShapeAnalyserEntity.ANGLE_ERROR_LINE_LENGTH = 5.0 |
|
staticprotected |
◆ DEBUG_SHAPE_COLOUR
int SCR_ShapeAnalyserEntity.DEBUG_SHAPE_COLOUR = Color.MAGENTA |
|
staticprotected |
◆ DEBUG_SHAPE_COLOUR_ALPHA
int SCR_ShapeAnalyserEntity.DEBUG_SHAPE_COLOUR_ALPHA = 0x66000000 |
|
staticprotected |
◆ DEBUG_SHAPE_COLOUR_IMPORTANT
int SCR_ShapeAnalyserEntity.DEBUG_SHAPE_COLOUR_IMPORTANT = Color.DARK_RED |
|
staticprotected |
◆ DEBUG_SHAPE_FLAGS
ShapeFlags SCR_ShapeAnalyserEntity.DEBUG_SHAPE_FLAGS = ShapeFlags.NOZBUFFER |
|
staticprotected |
◆ DEBUG_SHAPE_FLAGS_SPHERE
ShapeFlags SCR_ShapeAnalyserEntity.DEBUG_SHAPE_FLAGS_SPHERE = ShapeFlags.NOOUTLINE | ShapeFlags.TRANSP |
|
staticprotected |
◆ ERROR_SHAPE_ANGLE_ARRAY_LENGTH
const int SCR_ShapeAnalyserEntity.ERROR_SHAPE_ANGLE_ARRAY_LENGTH = 50 |
|
staticprotected |
◆ ERROR_SHAPE_ANGLE_CHECK_LENGTH
const float SCR_ShapeAnalyserEntity.ERROR_SHAPE_ANGLE_CHECK_LENGTH = 10.0 |
|
staticprotected |
see m_fMaxAngle description
◆ ERROR_SHAPE_COLOUR
int SCR_ShapeAnalyserEntity.ERROR_SHAPE_COLOUR = Color.RED |
|
staticprotected |
◆ m_bDrawDebugShapes
bool SCR_ShapeAnalyserEntity.m_bDrawDebugShapes |
|
protected |
◆ m_bDrawErrors
bool SCR_ShapeAnalyserEntity.m_bDrawErrors |
|
protected |
◆ m_bPrintDebugInfo
bool SCR_ShapeAnalyserEntity.m_bPrintDebugInfo |
|
protected |
◆ m_fMaxAngle
float SCR_ShapeAnalyserEntity.m_fMaxAngle |
|
protected |
◆ m_fMaxSlope
float SCR_ShapeAnalyserEntity.m_fMaxSlope |
|
protected |
◆ MIDDLE_POINT_LINE_VECTOR
vector SCR_ShapeAnalyserEntity.MIDDLE_POINT_LINE_VECTOR = "0 15 0" |
|
staticprotected |
◆ NORMAL_POINT_LINE_HAT_SIZE
float SCR_ShapeAnalyserEntity.NORMAL_POINT_LINE_HAT_SIZE = 1.0 |
|
staticprotected |
◆ NORMAL_POINT_LINE_VECTOR
vector SCR_ShapeAnalyserEntity.NORMAL_POINT_LINE_VECTOR = "0 20 0" |
|
staticprotected |
◆ s_aDebugShapes
ref array<ref Shape> SCR_ShapeAnalyserEntity.s_aDebugShapes |
|
staticprotected |
◆ s_aErrorShapes
ref array<ref Shape> SCR_ShapeAnalyserEntity.s_aErrorShapes |
|
staticprotected |
◆ SLOPE_ERROR_SHAPE_LENGTH
float SCR_ShapeAnalyserEntity.SLOPE_ERROR_SHAPE_LENGTH = 30.0 |
|
staticprotected |
◆ TESSELATED_POINT_LINE_VECTOR
vector SCR_ShapeAnalyserEntity.TESSELATED_POINT_LINE_VECTOR = "0 10 0" |
|
staticprotected |
The documentation for this interface was generated from the following file:
- Game/Generators/SCR_ShapeAnalyserEntity.c