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

The build assets that should be preserved past their normal disposal point.

Namespace: org.critterai.nmbuild
Assembly: cai-nmbuild (in cai-nmbuild.dll) Version: (


 C#  Visual Basic  Visual C++ 
NMGenAssetFlag PreserveAssets { get; }
ReadOnly Property PreserveAssets As NMGenAssetFlag
property NMGenAssetFlag PreserveAssets {
	NMGenAssetFlag get ();


Most processors will return zero. Use judiciously since it can result in large increases in memory consumption during a build.

Builders usually dispose of assets as soon as the asset is no longer needed for a 'normal' build. For example, the Heightfield is usually disposed as soon as the CompactHeightfield is created. So if a processor needs the heightfield for processing after heightfield post-processing, it should indicate so through this field.

See Also