|
Arma Reforger Script API
|
SCR_LineGeneratorBaseEntity responsibilities: More...
Protected Member Functions | |
| 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) |
Protected Member Functions inherited from SCR_GeneratorBaseEntity | |
| 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. | |
| void | SetSeed () |
| 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) |
Protected Attributes | |
| 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 |
Protected Attributes inherited from SCR_GeneratorBaseEntity | |
| bool | m_bEnableGeneration |
| int | m_iSeed |
| bool | m_bRandomiseSeedOnUse |
| 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 |
Additional Inherited Members | |
Public Member Functions inherited from SCR_GeneratorBaseEntity | |
| 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 Protected Member Functions inherited from SCR_GeneratorBaseEntity | |
| static WorldEditorAPI | GetWorldEditorAPI () |
| static array< vector > | GetPoints (notnull IEntitySource shapeEntitySrc) |
| static array< vector > | GetAnchorPoints (notnull IEntitySource shapeEntitySrc, float offset=0, bool isShapeClosed=false) |
| static array< vector > | GetWorldAnchorPoints (notnull IEntitySource shapeEntitySrc) |
| static array< vector > | GetTesselatedShapePoints (notnull IEntitySource shapeEntitySrc, float offset=0, bool isShapeClosed=false) |
| static array< vector > | GetWorldTesselatedShapePoints (notnull IEntitySource shapeEntitySrc) |
Static Protected Attributes inherited from SCR_GeneratorBaseEntity | |
| static const int | DEFAULT_SEED = 42 |
| static const int | MIN_RANDOM_SEED = 0 |
| static const int | MAX_RANDOM_SEED = 0x7FFF |
| static const int | BASE_GENERATOR_COLOUR = Color.WHITE |
SCR_LineGeneratorBaseEntity responsibilities:
|
protected |
|
protected |
|
protected |
Implemented in SCR_LineTerrainShaperGeneratorBaseEntity.
|
protected |
Implements SCR_GeneratorBaseEntity.
Implemented in PrefabGeneratorEntity, SCR_LineTerrainShaperGeneratorBaseEntity, SCR_PowerlineGeneratorEntity, and WallGeneratorEntity.
|
protected |
Implements SCR_GeneratorBaseEntity.
Implemented in SCR_LineTerrainShaperGeneratorBaseEntity, SCR_PowerlineGeneratorEntity, and WallGeneratorEntity.
|
protected |
Implements SCR_GeneratorBaseEntity.
Implemented in PrefabGeneratorEntity, SCR_LineTerrainShaperGeneratorBaseEntity, SCR_PowerlineGeneratorEntity, and WallGeneratorEntity.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |