Component reference
Scene Composition components
Variant component
5 min
description the variant component allows you to assign multiple 3d models to a single entity and switch between them based on certain conditions, known as heuristics this is useful for implementing features like level of detail (lod), device specific models, or manual model switching through trigger component docid\ nb3gi taxvolfxip idtj requirements an entity with a model component is required the variant component works in conjunction with the model component properties true falsefalse left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type false left unhandled content type usage notes distance heuristic useful for implementing lod, where high detail models are used when the user is close, and lower detail models when farther away manual heuristic allows you to change models in response to user interactions or triggers within the scene device heuristic ideal for optimizing performance across different devices by providing appropriate model qualities for various devices budget heuristic automatically adjusts model variants based on system performance, which can help maintain a smooth user experience important details when using the distance heuristic, overlapping distance ranges can cause unexpected behavior ensure that the minimum distance and maximum distance values for variants do not overlap the budget heuristic is advanced and may require testing to ensure it works as expected in your scene