开启使用材质属性
需要在材质设置中启用启用材质属性(Use Material Attributes)
MakeMaterialAttributes
将多个材质属性通道合并成一个MaterialAttributes
BreakMaterialAttributes
将一个MaterialAttributes拆分成多个材质属性通道
GetMaterialAttributes
获取MaterialAttributes中特定的一个或多个通道
在详情中添加需要的通道
SetMaterialAttributes
设置MaterialAttributes中特定的一个或多个通道
在详情中添加需要的通道
BlendMaterialAttributes
按一个比例混合两个MaterialAttributes
| 名称 | 说明 |
|---|---|
| A | MaterialAttributes A |
| B | MaterialAttributes B |
| Alpha | 混合系数 |
| Pixel Attribute Blend Type (在详情中) | 针对像素着色器,可选Blend/Use A/Use B |
| Vertex Attribute Blend Type (在详情中) | 针对顶点着色器,可选Blend/Use A/Use B |
材质图层
Material Attribute Layers
- UE