Terrain.HeightQueryCacheSize Property

Top 

Description

Maximum number of records that will be saved in a cache for terrain height queries. The size of a record is a function of the loaded terrain file sizes. For a typical terrain file containing 3601x3601 pixels, a record contains a 16x16 region of pixels.

 

Attempting to change this value after the cache is already in use will result in an error.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Attributes

Type:

integer

Access:

read/write

Default Value:

128

Valid Range:

Terrain.HeightQueryCacheSize ≥ 1

 

Syntax

myVariable1 = myTerrain1.HeightQueryCacheSize;

 

myTerrain1.HeightQueryCacheSize = myVariable1;

 

See also

Terrain Object