Apply Mode Property

Short Name: ApplyMode

Requires: Full Development System

Class: SceneTexture Properties

To Use: Create a property.

Reads or writes how LabVIEW applies the texture to the 3D object.

Values

0As 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.
1As 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.
2With 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)
3With 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.

Data type
PermissionsRead/Write
Available in Run-Time EngineYes
Available in Real-Time Operating SystemNo
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes