LOD

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
useCameraListboolyesEnables the camera list
cameraIndexintyesThe 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.

Copyright © 2017, Toolchefs LTD.