Component:AssetOptimizationBlock

From Resonite Wiki
Revision as of 22:16, 20 March 2025 by AmasterAmaster (talk | contribs) (Updated description, added links.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Asset Optimization Block component as seen in the Scene Inspector

The AssetOptimizationBlock component is used to prevent the asset optimization tasks in the game from slots tagged by this component. Currently according to decompiled code as of 13/10/2024, asset optimization block just prevents materials on the same slot that are the same value wise from being merged.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.

Usage

Examples

Usually put on freshly imported assets so materials don't get merged while the user is working on them. This is in case that the materials don't have textures and a bunch of them have the same color.

Related Components