Mesh.LodSelectionCurve
This struct represents the parameters that Unity uses to calculate which Mesh LOD level to select. It contains the lodBias and lodSlope properties, which scale logarithmically using screen space pixel area.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Struct
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public struct Mesh.LodSelectionCurve
Properties
Property | Description |
|---|---|
| lodBias | Bias for level of detail selection calculation. |
| lodSlope | The slope parameter that Unity uses when calculating which Mesh LOD level to select. |
Methods
Method | Description |
|---|---|
| IsValid | Returns true if the lodSlope value is greater than 0.0001f. |