- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
428 B
428 B
Material::SetFloat
void SetFloat(const Containers::String& name, float value)
设置材质浮点属性。
参数:
name- 属性名称value- 属性值
返回: 无
复杂度: O(1)
示例:
mat->SetFloat("roughness", 0.5f);
mat->SetFloat("metallic", 0.0f);
mat->SetFloat("emissionStrength", 2.0f);
相关文档
- Material 总览 - 返回类总览