应用模式
- 更新时间2025-07-30
- 阅读时长3分钟
读取或写入LabVIEW在三维对象上应用纹理的模式。
注释
下表列出了该属性的特性。
| 短名称 | ApplyMode |
| 数据类型 | ![]() |
| 权限 | 读取/写入 |
| 可用于运行引擎 | 是 |
| 可用于实时操作系统 | 否 |
| 可在VI运行时设置 | 是 |
| 加载前面板至内存 | 否 |
| 使用前必须授权 | 否 |
| 加载程序框图至内存 | 否 |
| 允许远程访问 | 是 |
| As a Decal | 0 |
(default) Applies the texture as a decal, blending the colors of the texture and the geometry of the object according to the following formula: 最终颜色=(1–纹理像素Alpha)*几何形状颜色+纹理像素Alpha*纹理像素颜色The alpha of the vertex does not change and is the same as the alpha in the geometry.
|
| With Modulation | 1 |
Replaces the color of the geometry with the color of the texture. LabVIEW also replaces the alpha value with the alpha value stored in the texture.
|
| With Blending | 2 |
Blends the texture with the 混合颜色 of the texture according to the following formula: 最终颜色=(–纹理像素颜色)*几何形状颜色+纹理像素颜色*混合颜色The resulting alpha value is Alpha(texel)*Alpha(geometry)
|
| As a replacement | 3 |
Applies the texture to the surface of the object and modulates the texture by the color of the surface according to the following formulas: 最终颜色=颜色(纹理像素)*颜色(几何对象)最终Alpha=Alpha(纹理像素)*Alpha(几何对象)
|
