mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-10 07:50:44 +00:00
doc correction
This commit is contained in:
parent
e12536efcd
commit
8121408029
1 changed files with 1 additions and 2 deletions
|
|
@ -1441,9 +1441,8 @@ F32 AIPlayer::getTargetDistance(GameBase* target, bool _checkEnabled)
|
|||
}
|
||||
|
||||
DefineEngineMethod(AIPlayer, getTargetDistance, F32, (ShapeBase* obj, bool checkEnabled), (NULL, false),
|
||||
"@brief Check whether an object is within a specified veiw cone.\n"
|
||||
"@brief The distance to a given object.\n"
|
||||
"@obj Object to check. (If blank, it will check the current target).\n"
|
||||
"@fov view angle in degrees.(Defaults to 45)\n"
|
||||
"@checkEnabled check whether the object can take damage and if so is still alive.(Defaults to false)\n")
|
||||
{
|
||||
return object->getTargetDistance(obj, checkEnabled);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue