Component:AssetOptimizationBlock

From Resonite Wiki
Revision as of 19:33, 13 October 2024 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Asset Optimization Block component as seen in the Scene Inspector


This component is used to prevent the asset optimization tasks in the game from optimizing assets. 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.

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