Class BuiltinMaterials
Provides access to the built-in materials that ProBuilder uses. In the Editor, see UnityEditor.ProBuilder.EditorMaterialUtility for access to the full array of materials and shaders.
Inherited Members
Namespace: UnityEngine.ProBuilder
Assembly: Unity.ProBuilder.dll
Syntax
public static class BuiltinMaterials
Fields
Name | Description |
---|---|
dotShader | Represents a fallback shader used to draw billboards when the graphics device does not support geometry shaders. |
faceShader | Represents the shader used to highlight Face selections. |
lineShader | Represents the shader used to highlight Edge selections. |
lineShaderMetal | Represents a line shader for use with |
pointShader | Represents the shader used to draw camera facing billboards from a single vertex. |
wireShader | Represents the fallback shader used to draw lines when the graphics device does not support geometry shaders. |
Properties
Name | Description |
---|---|
defaultMaterial | Represents the default ProBuilder material. |
geometryShadersSupported | Tests whether the current graphics device supports geometry shaders. |