User Tools

Site Tools


hpl3:community:scripting:classes:cterrain

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

hpl3:community:scripting:classes:cterrain [2015/11/05 12:01] (current)
abion47 created
Line 1: Line 1:
 +=====cTerrain=====
 +
 +====Fields====
 +
 +cTerrain has no public fields.
 +
 +====Functions====
 +
 +^ Return Type ^ Function Name ^ Parameters ^ Description ^
 +| bool | GetWorldPosHeightAndNormal | const [[cVector3f]] &in avPosition, \\ float& afHeight, \\ [[cVector3f]]&​ avNormal |   |
 +| void | GetStartAndSizeInTextureGrid | const [[cVector2f]] &in avStart, \\ const [[cVector2f]] &in avSize, \\ [[cVector2l]] &out avGridStart,​ \\ [[cVector2l]] &out avGridSize |   |
 +| void | SetCheapMaterial | const [[tString]] &in asCheapMaterial,​ \\ float afCheapMaterialMul |   |
 +| void | SetGeometryPatchSize | int alX |   |
 +| int | GetGeometryPatchSize |     ​| ​  |
 +| void | SetTexturePatchSize | int alX |   |
 +| int | GetTexturePatchSize |     ​| ​  |
 +| int | GetGeometryGridNum |     ​| ​  |
 +| int | GetTextureGridNum |     ​| ​  |
 +| void | SetUnitSize | float afX |   |
 +| float | GetUnitSize |     ​| ​  |
 +| void | SetMaxHeight | float afX |   |
 +| float | GetMaxHeight |     ​| ​  |
 +| void | SetChangePatchLevelDist | float afX |   |
 +| float | GetChangePatchLevelDist |     ​| ​  |
 +| int | GetHeightMapSize |     ​| ​  |
 +| float | GetMaterialSpecularPower |     ​| ​  |
 +
 +====Remarks====
 +
 +Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
  
hpl3/community/scripting/classes/cterrain.txt ยท Last modified: 2015/11/05 12:01 by abion47