SceneTexture class/Apply Mode property
Appearance
| VI Server Property Information | |
|---|---|
| Property ID | 22C3804 |
| Scope | Basic Development Environment |
| Data Name | Apply Mode |
| Short Name* | ApplyMode |
| Long Name* | Apply Mode |
| * Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE. | |
| Owning Class ID | 111 |
| Owning Class Name | SceneTexture Class |
| Data Type | Enum U16 data type |
| Property Node | |
| Available in Real-Time Operating System | No |
| Available in Run-Time Engine | Yes |
| Loads the block diagram into memory | No |
| Loads the front panel into memory | No |
| Need to authenticate before use | No |
| Permissions | Read/Write |
| Remote access allowed | Yes |
| Settable when the VI is running | Yes |
Reads or writes how LabVIEW applies the texture to the 3D object.
| 0 | As a Decal—(default) Applies the texture as a decal, blending the colors of the texture and the geometry of the object according to the following formula: Result Color=(1–Alpha in texel)*Color of geometry+Alpha in texel*Color in texel The alpha of the vertex does not change and is the same as the alpha in the geometry. |
|---|---|
| 1 | As a replacement—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. |
| 2 | With Blending—Blends the texture with the Blend Color of the texture according to the following formula: Result Color=(–Color in texel)*Color in geometry+Color in texel*Blend Color The resulting alpha value is Alpha(texel)*Alpha(geometry) |
| 3 | With Modulation—Applies the texture to the surface of the object and modulates the texture by the color of the surface according to the following formulas: Result Color=Color(texel)*Color(geometry) Result Alpha=Alpha(texel)*Alpha(geometry) |
Uses
| |
Specific use cases for this property. |
History
| |
History information is needed. What changes have occurred over previous versions? |
| Version | Change(s) |
|---|---|
| More info to come. |
See Also
| |
Add links to internal wiki pages that would also help. |
External Links
| |
Add links to external resources that would also help. |