Material:Color Mode Property

Short Name: Material.ColorMode

Requires: Full Development System

Class: SceneObject Properties

To Use: Create a property.

Reads or writes how the 3D object reacts to light. Materials only appear in lighted scenes.

Values

0Inherit Material—The object inherits the color mode of a parent object.
1Use entire Material—The emissive color of the material and its ambient, diffuse, and specular reflectance values all affect the reaction of the material to a light source.
2Ignore Ambient—LabVIEW ignores the ambient color and uses the base color of the object in its place.
3Ignore Diffuse—LabVIEW ignores the diffuse color and uses the base color of the object in its place.
4Ignore Specular—LabVIEW ignores the specular color and uses the base color of the object in its place.
5Ignore Emission—LabVIEW ignores the emissive color and uses the base color of the object in its place.
6Ignore Ambient and Diffuse—LabVIEW ignores the ambient and diffuse colors and uses the base color of the object in their place.

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