VR-Forces 5.1 Lua Function Documentation

taskVisualizationUtil

(For high level concepts about how to use Lua to write scripted tasks, please see VR-Forces User's Guide.)

Function List

CleanupVisualizations () Deletes the visualization names identified in VisualizationsTable
DebugVisualizeTask (bDebugging, sName, sGeometryType, aPoints, aColor, nSize) Calls VisualizeTask if bDebugging==true
VisualizeTask (sName, sGeometryType, aPoints, aColor, nSize) Wraps vrf:updateTaskVisualization and populates VisualizationsTable sName: string name for visualization, for identification and deletion later sGeometryType: see vrf:updateTaskVisualization aPoints: either Location3D or table of Location3Ds aColor: table of 4 integers RGBT nSize: integer, see vrf:updateTaskVisualization


Functions

CleanupVisualizations ()
Deletes the visualization names identified in VisualizationsTable
DebugVisualizeTask (bDebugging, sName, sGeometryType, aPoints, aColor, nSize)
Calls VisualizeTask if bDebugging==true

Parameters:

  • bDebugging:
  • sName:
  • sGeometryType:
  • aPoints:
  • aColor:
  • nSize:
VisualizeTask (sName, sGeometryType, aPoints, aColor, nSize)
Wraps vrf:updateTaskVisualization and populates VisualizationsTable sName: string name for visualization, for identification and deletion later sGeometryType: see vrf:updateTaskVisualization aPoints: either Location3D or table of Location3Ds aColor: table of 4 integers RGBT nSize: integer, see vrf:updateTaskVisualization

Parameters:

  • sName:
  • sGeometryType:
  • aPoints:
  • aColor:
  • nSize:

Copyright© 2024 MAK Technologies, Inc. All rights reserved.