Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The lod module set the "lod" string metadata to the group agents based on their distance from a camera. LODs are defined via the variation manager.


...

Attributes

AttributesTypeOverridableDescription
cameraMatrixmatrixnoThe camera world matrix
staticuseCameraListboolyesEnables the camera list
cameraIndexintyesSet the lod only at the first frame, and keep this value during the simulation.The index for the camera in the list. The default camera is used if the camera index is greater than the number of the cameras in the list.
cameraMatricesmatrix arrayyesThe camera world matrices
lodNamesstring arraynoThe lod names.
lodDistancesdouble arraynoThe lod distances.
staticboolyesSet the lod only at the first frame, and keep this value during the simulation.