Protected_Protected_OptionaloldMaterial: IMaterialParameters | Partial<TM>Protected_Protected_Optionaltime: AnimateTimeMaterialCreates a new material if a compatible template is found or apply minimal upgrades and returns the original material. Also checks from the registered materials, if one with the same uuid is found, it is returned instead with the new parameters. Also caches the response. Returns the same material if its already upgraded.
the material to upgrade/check
copyProps from material to c
Optionaltime: AnimateTimeMaterialCreate a material from the material type
Optionaluuid: stringuuid or material type
Optionalparams: Material<MaterialEventMap> | IMaterialParametersuse ThreeSerialization.SerializableMaterials directly
use ThreeSerialization.SerializableMaterials directly
use ThreeSerialization.SerializableMaterials directly
Material Manager Utility class to manage materials. Maintains a library of materials and material templates that can be used to manage or create new materials. Used in AssetManager to manage materials.