LOD

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

Attributes

Type

Overridable

Description

cameraMatrix

matrix

no

The camera world matrix

useCameraList

bool

yes

Enables the camera list

cameraIndex

int

yes

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.

cameraMatrices

matrix array

yes

The camera world matrices

lodNames

string array

no

The lod names.

lodDistances

double array

no

The lod distances.

static

bool

yes

Set the lod only at the first frame, and keep this value during the simulation.

 

Copyright © 2017, Toolchefs LTD.