Difference between revisions of "HPL3/SOMA/Scripting/cTerrain"
Jump to navigation
Jump to search
(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...") |
|||
Line 46: | Line 46: | ||
| <syntaxhighlight lang="c++" inline>void</syntaxhighlight> || SetUnitSize || <syntaxhighlight lang="c++" inline>float afX</syntaxhighlight> || | | <syntaxhighlight lang="c++" inline>void</syntaxhighlight> || SetUnitSize || <syntaxhighlight lang="c++" inline>float afX</syntaxhighlight> || | ||
|} | |} | ||
+ | |||
+ | {{ReferencesSection}} | ||
{{HPL3SOMAScriptingCategories}} | {{HPL3SOMAScriptingCategories}} | ||
__FORCETOC__ | __FORCETOC__ |
Latest revision as of 15:22, 6 August 2020
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
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 |