Struct MeshLODGroupComponent
Represents an LOD group.
Namespace: Unity.Rendering
Syntax
public struct MeshLODGroupComponent : IComponentData, IQueryTypeParameter
Remarks
Each MeshLODGroupComponent contains multiple MeshLODComponents and can also have multiple child groups.
Fields
LocalReferencePoint
Local reference point.
Declaration
public float3 LocalReferencePoint
Field Value
Type | Description |
---|---|
float3 |
LODDistances0
The low part of the LOD distance container.
Declaration
public float4 LODDistances0
Field Value
Type | Description |
---|---|
float4 |
LODDistances1
LOD distance container, high part.
Declaration
public float4 LODDistances1
Field Value
Type | Description |
---|---|
float4 |
ParentGroup
The LOD parent group.
Declaration
public Entity ParentGroup
Field Value
Type | Description |
---|---|
Entity |
ParentMask
The LOD mask.
Declaration
public int ParentMask
Field Value
Type | Description |
---|---|
Int32 |
Remarks
Each bit matches with one of the 8 possible LOD levels.