Files
XCEngine/docs/api/resources/material/remove-property.md

25 lines
325 B
Markdown
Raw Normal View History

2026-03-20 02:35:35 +08:00
# Material::RemoveProperty
```cpp
void RemoveProperty(const Containers::String& name);
```
移除指定属性。
**参数:**
- `name` - 属性名称
**线程安全:** ❌
**复杂度:** O(1)
**示例:**
```cpp
mat->RemoveProperty("roughness");
```
## 相关文档
- [Material](material.md) - 返回类总览