csharp
public struct LodLevelWhich level of its parent's group an entity draws.
As a scene component
- Size
- 4 bytes — 1024 rows in a 16 KB chunk, alone on the archetype
Remarks
Zero is the most detailed level, which is also what a zeroed column reads as — so an entity that gained the component and was never given a number is the finest level rather than an invalid one.
⚠ Read every frame, unlike MeshRenderable.CastsShadows. The membership it produces is per render object and the render object outlives no Resettle, so the extraction restates it rather than stamping it once — which is also what makes an author dragging a level between groups take effect in the viewport.
Fields and properties (1)
public int LevelWhich level this entity is — 0 is the most detailed.
Used by (10)
- ComponentRegistrationVixen.Rendering
- LodExtractionSystemVixen.Engine.Renderer
- LodExtractionTestsVixen.Engine.Renderer.Tests
- TypeRegistrationVixen.Rendering
- Vixen_Rendering_Ecs_LodLevelSerializerVixen.Rendering
- EditorApplicationVixen.Editor.App
- LodGroupGestureTestsVixen.Editor.App.Tests
- LodRangeTestsVixen.Editor.SceneView.Tests
- MaterialIconsVixen.Editor.App
- SceneLinesVixen.Editor.SceneView