Click or drag to resize

MeshAnalysisToolDrawMesh Method (Mesh, Vector3, Quaternion, Vector3, Material, Int32)

Draws the submesh in mesh analysis window.

Namespace:  HightlanderSolutions.MeshCheckerEditorExtension.MeshAnalysisFramework.API
Assembly:  MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
[PublicAPIAttribute]
protected void DrawMesh(
	Mesh mesh,
	Vector3 position,
	Quaternion rotation,
	Vector3 scale,
	Material material,
	int submesh
)

Parameters

mesh
Type: Mesh
Specifies a mesh which submesh will be drawn.
position
Type: Vector3
Specifies a position where submesh will be drawn.
rotation
Type: Quaternion
Specifies a rotation of a mesh.
scale
Type: Vector3
Specifies a scale of a mesh.
material
Type: Material
Specifies a material used to draw submesh.
submesh
Type: SystemInt32
Specifies an index of the submesh.
Exceptions
ExceptionCondition
InvalidOperationException A render utility could not be found.

The method invoked not in a DrawMeshes scope or the mesh analysis window is not initialized.

See Also