|
| void | ResetShapeNextPointHelper () |
| |
| override void | OnShapeChangedInternal (IEntitySource shapeEntitySrc, ShapeEntity shapeEntity, array< vector > mins, array< vector > maxes) |
| |
| override bool | _WB_OnKeyChanged (BaseContainer src, string key, BaseContainerList ownerContainers, IEntity parent) |
| |
| override void | _WB_OnParentChange (IEntitySource src, IEntitySource prevParentSrc) |
| |
| override void | _WB_OnInit (inout vector mat[4], IEntitySource src) |
| |
| 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) |
| |
|
| 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) |
| |
| 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) |
| |
| static const int | BASE_GENERATOR_COLOUR = Color.WHITE |
| |
SCR_LineGeneratorBaseEntity responsibilities:
- allow and draw a shape offset from the parent shape ("parallel/virtual" shape)
- hold a "next point helper" to get the next point on the parent/offset shape according to the exposed attributes