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

Loads and creates geometry from mesh filter components. (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 MeshCompiler : ScriptableObject, 
	IInputBuildProcessor, IPriorityItem
<SerializableAttribute> _
Public NotInheritable Class MeshCompiler _
	Inherits ScriptableObject _
	Implements IInputBuildProcessor, IPriorityItem
[SerializableAttribute]
public ref class MeshCompiler 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
MeshCompiler()()()()
Initializes a new instance of the MeshCompiler class
colocationOption
Colocation option. (Whether or not to perfer colliders.)
DuplicatesAllowed
No duplicates allowed. (Always false.)
Name
The name of the processor
Priority
The priority of the processor.
ProcessInput(InputBuildContext, InputBuildState)
Processes the context.

Remarks

Loads mesh filters from the scene and compiles input geometry from attached meshes.

If colliders are set as preferred and a supported collider is colocated with the mesh filter, the geometry will be created from the collider instead. Supported colliders include: SphereCollider, BoxCollider, and MeshCollider.

Inheritance Hierarchy

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

See Also