Script v1.4.4.0
Engine v7.0.0.2
- General
- Entity
- Node
- Scenegraph
- Lighting
- Camera
- Shape
- Particle System
- Physics
- Spline
- Animation
- Overlays
- Sound
- Input
- XML
- Network
- Callbacks
- Text Rendering
- Terrain Detail
- addDensityMaskedParallelogram
- addDensityParallelogram
- getDensityAtWorldPos
- getDensityMapFileName
- getDensityMapSize
- getDensityMaskedParallelogram
- getDensityParallelogram
- getDensityParallelogramArea
- getDensityRegion
- getDensityRegionWorld
- getGrowthNumStates
- getGrowthStateTime
- getTerrainAttributesAtWorldPos
- getTerrainDetailByName
- getTerrainDetailName
- getTerrainDetailNumChannels
- getTerrainDetailViewDistance
- getTerrainHeightAtWorldPos
- getTerrainNormalAtWorldPos
- getTerrainSize
- setDensityCompareParams
- setDensityMaskedParallelogram
- setDensityMaskParams
- setDensityNewTypeIndexMode
- setDensityParallelogram
- setDensityReturnValueShift
- setDensityTypeIndexCompareMode
- setEnableGrowth
- setFoliageGrowingEnabled
- setTypeIndexMaskedParallelogram
- Tire Track
- Editor
- Rendering
- String
- Math
- I3D
- Fillplanes
Foundation Reference
getTerrainAttributesAtWorldPos
DescriptionGet terrain attributes at world posDefinition
getTerrainAttributesAtWorldPos(integer terrainId, float x, float y, float z, boolean xComb, boolean yComb, boolean zComb, boolean wComb, boolean uComb)Arguments
integer | terrainId | id of the terrain |
float | x | x position |
float | y | y position |
float | z | z position |
boolean | xComb | is x combined |
boolean | yComb | is y combined |
boolean | zComb | is z combined |
boolean | wComb | is w combined |
boolean | uComb | is u combined |
float | x | x value |
float | y | y value |
float | z | z value |
float | w | w value |
float | u | u value |