Interface MeshDebugOptions
mode?: MeshDebugMode;
multiply?: boolean;
shadedDiffuseColor?: any;
shadedSpecularColor?: any;
shadedSpecularPower?: number;
uvPrimaryColor?: any;
uvScale?: number;
uvSecondaryColor?: any;
vertexColor?: any;
vertexRadius?: number;
wireframeThickness?: number;
wireframeTrianglesColor?: any;
wireframeVerticesColor?: any;
}
Properties
Optionalmode
The mesh debug visualization. Defaults to NONE.
Optionalmultiply
Whether the mesh debug visualization should multiply with color underneath. Defaults to true.
Optionalshaded Diffuse Color
Diffuse color used to shade the mesh. Defaults to (1.0, 1.0, 1.0).
Optionalshaded Specular Color
Specular color used to shade the mesh. Defaults to (0.8, 0.8, 0.8).
Optionalshaded Specular Power
Specular power used to shade the mesh. Defaults to 10.
Optionaluv Primary Color
1st color of checkerboard grid in UV1 or UV2 modes. Defaults to (1.0, 1.0, 1.0).
Optionaluv Scale
Size of tiles in UV1 or UV2 modes. Defaults to 20.
Optionaluv Secondary Color
2nd color of checkerboard grid in UV1 or UV2 modes. Defaults to (0.5, 0.5, 0.5).
Optionalvertex Color
Color of vertices in TRIANGLES_VERTICES and VERTICES mode. Defaults to (0.0, 0.0, 0.0).
Optionalvertex Radius
Radius of dots drawn over vertices in TRIANGLE_VERTICES and VERTICES mode. Defaults to 1.2.
Optionalwireframe Thickness
Width of edge lines in TRIANGLES and TRIANGLE_VERTICES modes. Defaults to 0.7.
Optionalwireframe Triangles Color
Color of edge lines in TRIANGLES mode. Defaults to (0.0, 0.0, 0.0).
Optionalwireframe Vertices Color
Color of edge lines in TRIANGLES_VERTICES modes. Defaults to (0.8, 0.8, 0.8).
Options for MeshDebugPluginMaterial visualizations