diff options
Diffstat (limited to 'indra/newview/llmaterialeditor.h')
-rw-r--r-- | indra/newview/llmaterialeditor.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/indra/newview/llmaterialeditor.h b/indra/newview/llmaterialeditor.h index febdb3bbc1..f0c5dca44d 100644 --- a/indra/newview/llmaterialeditor.h +++ b/indra/newview/llmaterialeditor.h @@ -33,26 +33,49 @@ class LLMaterialEditor : public LLFloater public: LLMaterialEditor(const LLSD& key); + // open a file dialog and select a gltf/glb file for import + void importMaterial(); + void onClickSave(); // llpanel BOOL postBuild() override; LLUUID getAlbedoId(); + void setAlbedoId(const LLUUID& id); + LLColor4 getAlbedoColor(); + + // sets both albedo color and transparency + void setAlbedoColor(const LLColor4& color); + F32 getTransparency(); + std::string getAlphaMode(); + void setAlphaMode(const std::string& alpha_mode); + F32 getAlphaCutoff(); + void setAlphaCutoff(F32 alpha_cutoff); LLUUID getMetallicRoughnessId(); + void setMetallicRoughnessId(const LLUUID& id); + F32 getMetalnessFactor(); + void setMetalnessFactor(F32 factor); + F32 getRoughnessFactor(); + void setRoughnessFactor(F32 factor); LLUUID getEmissiveId(); + void setEmissiveId(const LLUUID& id); + LLColor4 getEmissiveColor(); + void setEmissiveColor(const LLColor4& color); LLUUID getNormalId(); + void setNormalId(const LLUUID& id); bool getDoubleSided(); + void setDoubleSided(bool double_sided); }; |