|
| override void | _WB_OnInit (inout vector mat[4], IEntitySource src) |
| |
| override bool | _WB_OnKeyChanged (BaseContainer src, string key, BaseContainerList ownerContainers, IEntity parent) |
| |
| override void | _WB_OnCreate (IEntitySource src) |
| |
| override void | _WB_OnParentChange (IEntitySource src, IEntitySource prevParentSrc) |
| |
| override void | _WB_OnDelete (IEntitySource src) |
| |
| override bool | _WB_CanSelect (IEntitySource src) |
| |
| map< int, ref ShapePointDataScriptBase > | GetFirstPointDataMap (TypeName wantedType=ShapePointDataScriptBase) |
| |
| map< int, ref array< ref ShapePointDataScriptBase > > | GetPointDataMap (TypeName wantedType=ShapePointDataScriptBase) |
| |
| override void | OnShapeInitInternal (IEntitySource shapeEntitySrc, ShapeEntity shapeEntity) |
| |
| override void | OnShapeTransformInternal (IEntitySource shapeEntitySrc, ShapeEntity shapeEntity, array< vector > mins, array< vector > maxes) |
| |
| override void | OnShapeChangedInternal (IEntitySource shapeEntitySrc, ShapeEntity shapeEntity, array< vector > mins, array< vector > maxes) |
| |
| void | UpdateTerrainSimple (bool forceUpdate=false) |
| | wrapper method around UpdateTerrain that sets m_ShapeEntity up
|
| |
| void | UpdateTerrain (notnull ShapeEntity shapeEntity, bool forceUpdate, notnull array< vector > updateMins, notnull array< vector > updateMaxes) |
| |
| void | SCR_LineTerrainShaperGeneratorBaseEntity (IEntitySource src, IEntity parent) |
| |
| void | ResetShapeNextPointHelper () |
| |
| override void | _WB_AfterWorldUpdate (float timeSlice) |
| |
| override int | _WB_GetAfterWorldUpdateSpecs (IEntitySource src) |
| |
| 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) |
| |
| bool | m_bSculptTerrain |
| |
| int | m_iTerrainSculptingPriority |
| |
| float | m_fTerrainSculptingPathWidth |
| |
| float | m_fTerrainSculptingFallOffWidth |
| |
| ShapeEntity | m_ShapeEntity |
| | Read by WorldEditorAPI.AddTerrainFlatterEntity, CANNOT be renamed defined at the last moment in UpdateTerrainSimple from m_ParentShapeSource / m_OffsetShapeSource.
|
| |
| vector | m_vShapeOffset |
| |
| bool | m_bYOffsetInShapeSpace |
| |
| float | m_fShapeOffset |
| |
| float | m_fSplineSafetyDistanceRatio |
| |
| bool | m_bSnapOffsetShapeToTheGround |
| |
| bool | m_bNextPointMeasurementXZ |
| |
| ref SCR_ShapeNextPointHelper | m_ShapeNextPointHelper |
| |
| ref SCR_DebugShapeManager | m_DbgShpMgr |
| |
| ref array< Shape > | m_aOffsetShapeShapes = {} |
| |
| bool | m_bIsSelectedAlone |
| |
| bool | m_bForceOffsetShapeShapesRefresh |
| |
| bool | m_bEnableGeneration |
| |
| int | m_iSeed |
| |
| IEntitySource | m_Source |
| | the generator's entity source
|
| |
| IEntitySource | m_ParentShapeSource |
| | the parent shape's entity source, if any - must be managed ONLY by SCR_GeneratorBaseEntity
|
| |
| int | m_iSourceLayerID |
| |
| ref RandomGenerator | m_RandomGenerator |
| |
| bool | m_bIsChangingWorkbenchKey |
| |
| static const ref array< string > | TERRAIN_UPDATE_KEYS |
| |
| static const string | OFFSET_SHAPE_COLOUR = "1 0 1 1" |
| |
| static const int | BASE_GENERATOR_COLOUR = Color.WHITE |
| |