[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: 0.4.0.0 (0.4.0.0)

Syntax

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

Remarks

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