Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Apply Mode Property (Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Property of SceneTexture.

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

You can select from the following values:

  • 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.
  • 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.
  • 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)
  • 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 SystemYes
PermissionsWrite In Edit Only
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 disallowedNo
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit