SceneTexture class/Apply Mode property

From LabVIEW Wiki
Jump to: navigation, search
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

Enum U16

Property Node Apply Mode
Available in Real-Time Operating SystemNo
Available in Run-Time EngineYes
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningYes

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)



Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links