Optional__Optional__Optional__This can be set to true in the importer to indicate that the source buffer should be loaded and cached in the userdata during processRaw
Optional__Cached source blob for the asset
Optional__Cached source buffer for the asset (only cached when __needsSourceBuffer is set)
Optional_Optional_Optional_Optional_Optional_Optional_OptionalanimationOptionalautoAutomatically register this material in the MaterialManager when added to the scene. This provides hook to other plugins to extend the material, add uiconfig etc.
OptionalcloneOptionalcloneOptionalconstraintsOptionaldisposeAutomatically dispose material when not used by any object in the scene
OptionalenvThe environment map to use in the RootScene. To use this, object with the material must be in the RootScene, and the key should exist in the RootScene's textureSlots.
only for materials that have envMap
OptionalforcedForce a depth value in GBuffer. This is useful to force center values like 0 to the depth.
OptionalgSee GBufferPlugin
OptionalinverseOptionalisIf this is a placeholder/dummy material. These materials are not saved in asset/glTF files.
OptionalpluginsGeneral flag to disable multiple plugins on the material at once, like SSAO, SSR, Bloom etc.
OptionalpostOptionalrenderSame as renderToGBuffer but for depth only, not normal or flags etc
OptionalrenderOptionalrootThe path from which the asset was downloaded/imported.
OptionalrootIncase files are loaded as different extensions(like for json), this will be set.
OptionalrootWhether to refresh this object from the asset manager when its loaded as an embedded object
OptionalruntimeOptionalseparateFlag to tell the scene to prefer material.envMapIntensity over scene.environmentIntensity
only for materials that have envMapIntensity
OptionalsetOptionalsList of properties that will be saved in the glb/material files when this material is saved. The other properties are expected to be loaded/filled at runtime by default values or from an external material loaded from IImportResultUserData.rootPath.
OptionalssaoCast SSAO on other objects. if casting is not working when this is false, ensure render to depth is true, like for transparent objects
OptionalssaoDisable SSAOPlugin for this material.
OptionalsscsFor SSCSPlugin
OptionalssreflFor SSRPlugin
OptionalssreflFor SSRPlugin
Optionaluuid
extra arbitrary data saved by the importer that can be used by the plugins (like gltf material variants)