Material:Color Mode Property
Short Name: Material.ColorMode
Installed With: Full Development System
Class: SceneObject Properties
Reads or writes how the 3D object reacts to light. Materials only appear in lighted scenes.
Values
| 0 | Inherit Material—The object inherits the color mode of a parent object. |
| 1 | Use 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. |
| 2 | Ignore Ambient—LabVIEW ignores the ambient color and uses the base color of the object in its place. |
| 3 | Ignore Diffuse—LabVIEW ignores the diffuse color and uses the base color of the object in its place. |
| 4 | Ignore Specular—LabVIEW ignores the specular color and uses the base color of the object in its place. |
| 5 | Ignore Emission—LabVIEW ignores the emissive color and uses the base color of the object in its place. |
| 6 | Ignore 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.
| 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 |