Turn off pixel caching for nodes
Mesh previewMesh = mesh == null ? s_Meshes[0] : mesh;
Vector3 previewPosition = -previewMesh.bounds.center;
Vector3 previewPosition = previewMesh.bounds.center;
Graphics.DrawMesh(
mode == PreviewMode.Preview3D ? previewMesh : quad,
UpdateSize();
}
clippingOptions = ClippingOptions.ClipContents;
mainContainer.clippingOptions = ClippingOptions.ClipContents;
public AbstractMaterialNode node { get; private set; }