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

Returns a progress value associated with the specified state.

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++ 
public static float ToProgress(
	NMGenState state
)
Public Shared Function ToProgress ( _
	state As NMGenState _
) As Single
public:
static float ToProgress(
	NMGenState state
)

Parameters

state
NMGenState
The state.

Return Value

A progress value for the state.

Remarks

The value will be between 0 and 1.0, suitable for providing build progress feedback.

See Also