mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Some small console method docs
Added a little documentation to a console method.
This commit is contained in:
parent
881f9abeb6
commit
72a0aed154
1 changed files with 10 additions and 4 deletions
|
|
@ -2922,7 +2922,13 @@ void TerrainEditor::autoMaterialLayer( F32 mMinHeight, F32 mMaxHeight, F32 mMinS
|
||||||
scheduleMaterialUpdate();
|
scheduleMaterialUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
DefineConsoleMethod( TerrainEditor, autoMaterialLayer, void, (F32 minHeight, F32 maxHeight, F32 minSlope, F32 maxSlope, F32 coverage), , "(F32 minHeight, F32 maxHeight, F32 minSlope, F32 maxSlope , F32 coverage)")
|
DefineEngineMethod( TerrainEditor, autoMaterialLayer, void, (F32 minHeight, F32 maxHeight, F32 minSlope, F32 maxSlope, F32 coverage),,
|
||||||
|
"Rule based terrain painting.\n"
|
||||||
|
"@param minHeight Minimum terrain height."
|
||||||
|
"@param maxHeight Maximum terrain height."
|
||||||
|
"@param minSlope Minimum terrain slope."
|
||||||
|
"@param maxSlope Maximum terrain slope."
|
||||||
|
"@param coverage Terrain coverage amount.")
|
||||||
{
|
{
|
||||||
object->autoMaterialLayer( minHeight,maxHeight, minSlope, maxSlope, coverage );
|
object->autoMaterialLayer( minHeight,maxHeight, minSlope, maxSlope, coverage );
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue