Method CalculateLODSwitchDistance
CalculateLODSwitchDistance(float, LODGroup, int)
Calculates the LOD switch distance for an LOD group.
Declaration
public static float CalculateLODSwitchDistance(float fieldOfView, LODGroup group, int lodIndex)
Parameters
Type | Name | Description |
---|---|---|
float | fieldOfView | The field of view angle. |
LODGroup | group | The LOD group. |
int | lodIndex | The LOD index to use. |
Returns
Type | Description |
---|---|
float | Returns the LOD switch distance. |