Apply Mode Property
Short Name: ApplyMode
Installed With: Full Development System
Class: SceneTexture Properties
Reads or writes how LabVIEW applies the texture to the 3D object.
Values
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) |
Remarks
The following table lists the characteristics of this property.
Available in Run-Time Engine and Real-Time Operating System | Yes |
Permissions | Write In Edit Only |
Settable when the VI is running | Yes |
Loads the front panel into memory | No |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access disallowed | No |
Must wait until user interface is idle | No |
Available with control VIs | No |
Available with global VIs | No |
Available with strict type definitions | No |
Available with polymorphic VIs | No |