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

Defines a mapping between areas and flags and applies the flags during the NMGen build process. (Editor Only)

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++ 
[SerializableAttribute]
public sealed class AreaFlagDef : ScriptableObject, 
	IInputBuildProcessor, IPriorityItem
<SerializableAttribute> _
Public NotInheritable Class AreaFlagDef _
	Inherits ScriptableObject _
	Implements IInputBuildProcessor, IPriorityItem
[SerializableAttribute]
public ref class AreaFlagDef sealed : public ScriptableObject, 
	IInputBuildProcessor, IPriorityItem

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
AreaFlagDef()()()()
Initializes a new instance of the AreaFlagDef class
areas
The area associated with the flags.
DuplicatesAllowed
Duplicates allowed. (Always true.)
flags
Flags to associate with areas.
Name
The name of the processor
Priority
The priority of the processor.
ProcessInput(InputBuildContext, InputBuildState)
Processes the context.
SetPriority(Int32)
Sets the priority.

Remarks

Any polygon or off-mesh connection assigned to one of the defined areas will have the associated flags added. E.g. The 'water' area gets the 'swim' flag.

The flags are applied to PolyMesh polygons during the NMGen build, and to off-mesh connections during input post-processing.

Inheritance Hierarchy

System..::..Object
  Object
    ScriptableObject
      (Default Namespace)..::..AreaFlagDef

See Also