StaticcreateCreates a node-based custom material from RHODONITE_materials_node extension data. Uses ShaderGraphResolver to generate shader code from the loaded .rmn JSON, then creates a custom material using MaterialHelper.
The engine instance
The glTF model containing textures and samplers
The glTF material JSON containing the extension
Array of loaded Rhodonite textures
Array of loaded Rhodonite samplers
The created custom material, or the current material if creation fails
StatichasChecks if a material has the RHODONITE_materials_node extension.
OptionalmaterialJson: RnM2MaterialThe glTF material JSON to check
True if the extension is present, false otherwise
StaticimportImports billboard configuration from RnM2 format and applies it to scene graph entities. Processes the RHODONITE_billboard extension to enable billboard rendering for specified nodes.
The RnM2 format JSON data containing billboard extension information
Array of scene graph entities corresponding to nodes in the RnM2 data
StaticimportImports Effekseer effects from RnM2 format and creates corresponding Effekseer components. Processes the RHODONITE_effekseer extension to load particle effects with their configurations.
The RnM2 format JSON data containing Effekseer extension information
The root scene graph entity that contains all imported entities
Extension class for importing Rhodonite-specific features from RnM2 format files. Handles billboard and Effekseer effect imports.