HPL3/SOMA/Scripting/cTerrain

From Frictional Wiki
< HPL3‎ | SOMA‎ | Scripting
Revision as of 03:27, 4 August 2020 by Abion47 (talk | contribs) (Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Fields== cTerrain has no public fields. ==Functio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

Fields

cTerrain has no public fields.

Functions

Return Type Function Name Parameters Description
float GetChangePatchLevelDist
int GetGeometryGridNum
int GetGeometryPatchSize
int GetHeightMapSize
float GetMaterialSpecularPower
float GetMaxHeight
void GetStartAndSizeInTextureGrid const cVector2f &in avStart,
const cVector2f &in avSize,
cVector2l &out avGridStart,
cVector2l &out avGridSize
int GetTextureGridNum
int GetTexturePatchSize
float GetUnitSize
bool GetWorldPosHeightAndNormal const cVector3f &in avPosition,
float& afHeight,
cVector3f& avNormal
void SetChangePatchLevelDist float afX
void SetCheapMaterial const tString &in asCheapMaterial,
float afCheapMaterialMul
void SetGeometryPatchSize int alX
void SetMaxHeight float afX
void SetTexturePatchSize int alX
void SetUnitSize float afX