Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SplineTerrainGeneratorEntityBase.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
15
16class SplineTerrainGeneratorEntityBase: GeneratorBaseEntity
17{
18 // Creates a list of BBoxes of tesselated segments that are between each neighboring control points (bBoxes[i] contains bBox for spline between controlPoints i and i+1).
19 proto external void GetSegmentBoundBoxes(inout notnull array<vector> mins, inout notnull array<vector> maxs);
20 proto external void RegisterGenerator(vector bbMin, vector bbMax, int priority);
21 proto external void RemoveGenerator(bool forceUpdate, array<vector> mins, array<vector> maxs);
22 proto external void AddRectsToUpdateQueue(array<vector> mins, array<vector> maxs);
23 proto external void UpdateRectsFromQueue();
24 proto external float GetMaxTerrainResolution();
25
26 // callbacks
27
28 // Returns the extents per segments (divided by control points) with segment 0-1 under index 0, and so on.
29 event array<float> GetExtents();
30 // Callback that calculates the new terrain height. Return float.MAX to keep the original terrain height.
31 event float GenerateTerrain(array<vector> aShapeControlPoints, array<vector> aShapeTesselatedPoints, array<float> aShapeDistancesFromStart, array<int> aTesselatedToOriginalIndices, int heightMapXPos, int heightMapYPos, vector closestPointOnLineWP, vector genPointWS, float oldHeight, int tessPointAIdx, int tessPointBIdx, float ABRatio, float terrainInvScale, float signedDistFromSpline) /* signedDistFromSpline is negative, if the point is on the left side from the spline.*/;
32}
33
proto external float GetMaxTerrainResolution()
SplineTerrainGeneratorEntityBaseClass GeneratorBaseEntityClass GetSegmentBoundBoxes(inout notnull array< vector > mins, inout notnull array< vector > maxs)
proto external void UpdateRectsFromQueue()
proto external void RegisterGenerator(vector bbMin, vector bbMax, int priority)
proto external void AddRectsToUpdateQueue(array< vector > mins, array< vector > maxs)
event array< float > GetExtents()
proto external void RemoveGenerator(bool forceUpdate, array< vector > mins, array< vector > maxs)
event float GenerateTerrain(array< vector > aShapeControlPoints, array< vector > aShapeTesselatedPoints, array< float > aShapeDistancesFromStart, array< int > aTesselatedToOriginalIndices, int heightMapXPos, int heightMapYPos, vector closestPointOnLineWP, vector genPointWS, float oldHeight, int tessPointAIdx, int tessPointBIdx, float ABRatio, float terrainInvScale, float signedDistFromSpline)