[This is preliminary documentation and is subject to change.]

The resolution factor to use when triangulating the terrain surface. [0.001f <= value <= 1]

Namespace: (Default Namespace)
Assembly: cai-nmbuild-u3d-editor (in cai-nmbuild-u3d-editor.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public float Resolution { get; set; }
Public Property Resolution As Single
	Get
	Set
public:
property float Resolution {
	float get ();
	void set (float value);
}

Remarks

The TerrainData heightfield has a build-in resolution that is usually much higher than required for building the navigation mesh. For example, a 1024x1024 heightmap for a 2000x2000 unit terrain can generate over 8 million triangles at 100% resolution. This property allows the resolution to be scaled down. A good place to start for a normal terrain is 0.1.

See Also