TDME2 1.9.121
|
This is the complete list of members for Terrain2, including all inherited members.
applyBrushToTerrainModels(BoundingBox &terrainBoundingBox, vector< Model * > &terrainModels, vector< float > &terrainHeightVector, const Vector3 &brushCenterPosition, Texture *brushTexture, float brushScale, float brushStrength, BrushOperation brushOperation, float flattenHeight=0.0f) | Terrain2 | static |
applyFoliageBrush(BoundingBox &terrainBoundingBox, vector< float > &terrainHeightVector, const Vector3 &brushCenterPosition, const FoliageBrush &foliageBrush, const vector< FoliageBrushPrototype > &foliageBrushPrototypes, BrushOperation brushOperation, vector< unordered_map< int, vector< Transformations > > > &foliageMaps, vector< unordered_map< int, vector< Transformations > > > &newFoliageMaps) | Terrain2 | static |
applyFoliageDeleteBrush(BoundingBox &terrainBoundingBox, const Vector3 &brushCenterPosition, const FoliageBrush &foliageBrush, const vector< FoliageBrushPrototype > &foliageBrushPrototypes, BrushOperation brushOperation, vector< unordered_map< int, vector< Transformations > > > &foliageMaps, unordered_set< int > &recreateFoliagePartitions) | Terrain2 | static |
applyRampBrushToTerrainModels(BoundingBox &terrainBoundingBox, vector< Model * > &terrainModels, vector< float > &terrainHeightVector, const Vector3 &brushCenterPosition, Texture *brushTexture, float brushRotation, const Vector2 &brushScale, float flattenHeightMin, float flattenHeightMax) | Terrain2 | static |
BrushOperation enum name | Terrain2 | |
BRUSHOPERATION_ADD enum value | Terrain2 | |
BRUSHOPERATION_DELETE enum value | Terrain2 | |
BRUSHOPERATION_FLATTEN enum value | Terrain2 | |
BRUSHOPERATION_NONE enum value | Terrain2 | |
BRUSHOPERATION_RAMP enum value | Terrain2 | |
BRUSHOPERATION_SMOOTH enum value | Terrain2 | |
BRUSHOPERATION_SUBTRACT enum value | Terrain2 | |
BRUSHOPERATION_WATER_ADD enum value | Terrain2 | |
BRUSHOPERATION_WATER_DELETE enum value | Terrain2 | |
computeTerrainVertexNormal(const vector< float > &terrainHeightVector, int verticesPerX, int verticesPerZ, int x, int z) | Terrain2 | inlineprivatestatic |
computeWaterPositionMap(BoundingBox &terrainBoundingBox, const vector< float > &terrainHeightVector, const Vector3 &brushCenterPosition, float waterHeight, unordered_map< int, unordered_set< int > > &waterPositionMap) | Terrain2 | static |
computeWaterReflectionEnvironmentMappingPosition(const unordered_map< int, unordered_set< int > > &waterPositionMap, float waterHeight) | Terrain2 | static |
createFoliageMaps(BoundingBox &terrainBoundingBox, vector< unordered_map< int, vector< Transformations > > > &foliageMaps) | Terrain2 | static |
createFoliageMaps(float terrainWidth, float terrainDepth, vector< unordered_map< int, vector< Transformations > > > &foliageMaps) | Terrain2 | static |
createTerrainModels(float width, float depth, float y, vector< float > &terrainHeightVector, BoundingBox &terrainBoundingBox, vector< Model * > &terrainModels, bool createLODLevels=false) | Terrain2 | static |
createWaterModels(BoundingBox &terrainBoundingBox, const unordered_map< int, unordered_set< int > > &waterPositionMap, float waterHeight, int waterModelIdx, vector< Model * > &waterModels) | Terrain2 | static |
determineWater(const vector< float > &terrainHeightVector, int verticesPerX, int verticesPerZ, int x, int z, float waterHeight) | Terrain2 | inlineprivatestatic |
determineWaterXPositionSet(const vector< float > &terrainHeightVector, int verticesPerX, int verticesPerZ, int x, int z, float waterHeight, unordered_set< int > &waterXPositionSet) | Terrain2 | inlineprivatestatic |
emptyFoliageMaps(vector< unordered_map< int, vector< Transformations > > > &foliageMaps) | Terrain2 | static |
getTerrainModelsHeight(BoundingBox &terrainBoundingBox, vector< Model * > &terrainModels, vector< float > &terrainHeightVector, const Vector3 &brushCenterPosition, float &brushHeight) | Terrain2 | static |
getTerrainVertex(int x, int z, Vector3 &vertex) | Terrain2 | inlineprivatestatic |
getTerrainVertex(const vector< float > &terrainHeightVector, int verticesPerX, int verticesPerZ, int x, int z, Vector3 &vertex) | Terrain2 | inlineprivatestatic |
getWaterVertex(int x, int z, float waterHeight, Vector3 &vertex) | Terrain2 | inlineprivatestatic |
hasWaterPosition(const unordered_map< int, unordered_set< int > > &waterPositionSet, int x, int z) | Terrain2 | inlineprivatestatic |
mirrorXAxis(bool flipZ, float width, float depth, vector< float > &terrainHeightVector, unordered_map< int, float > &waterPositionMapsHeight, unordered_map< int, unordered_map< int, unordered_set< int > > > &waterPositionMaps, vector< unordered_map< int, vector< Transformations > > > &foliageMaps) | Terrain2 | static |
mirrorZAxis(bool flipX, float width, float depth, vector< float > &terrainHeightVector, unordered_map< int, float > &waterPositionMapsHeight, unordered_map< int, unordered_map< int, unordered_set< int > > > &waterPositionMaps, vector< unordered_map< int, vector< Transformations > > > &foliageMaps) | Terrain2 | static |
PARTITION_SIZE | Terrain2 | static |
STEP_SIZE | Terrain2 | static |
updateFoliageTerrainBrush(BoundingBox &terrainBoundingBox, vector< float > &terrainHeightVector, const Vector3 &brushCenterPosition, const FoliageBrush &foliageBrush, vector< unordered_map< int, vector< Transformations > > > &foliageMaps, unordered_set< int > &updateFoliagePartitions) | Terrain2 | static |
updateFoliageTerrainRampBrush(BoundingBox &terrainBoundingBox, vector< float > &terrainHeightVector, const Vector3 &brushCenterPosition, Texture *brushTexture, float brushRotation, const Vector2 &brushScale, vector< unordered_map< int, vector< Transformations > > > &foliageMaps, unordered_set< int > &updateFoliagePartitions) | Terrain2 | static |