TextureMode Property

Gets or sets a value that determines how color interpolation is to be handled across the surface of graphs.

Syntax

object.TextureMode [= value]

Parameters

value
A Short whose value determines the precision of color interpolation across the surface of a graph. Valid values follow:

value Name Description
0 NO_TEXTURE Do color interpolation, but emphasize speed, not precision.
1 ALWAYS_TEXTURE Do color interpolation with full precision.
2 AUTO_TEXTURE First, render a graph with no color interpolation. Then, if the region of interest (ROI) has not changed, do color interpolation with full precision.

Remarks

If Shading is FLAT, TextureMode has no effect. The visual difference between different TextureMode values is most noticeable when the number of data points in the graph is small.

This property applies only to graphs whose GraphStyle property is Surface and whose GraphType property is Height Field.

The AUTO_TEXTURE mode is not currently implemented.

See Also

GraphStyle, Shading