mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-19 14:43:47 +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
|
|
@ -2920,9 +2920,15 @@ void TerrainEditor::autoMaterialLayer( F32 mMinHeight, F32 mMaxHeight, F32 mMinS
|
|||
mUndoSel = 0;
|
||||
|
||||
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 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue