Skip to content

Instantly share code, notes, and snippets.

@CameronVetter
Last active September 10, 2017 21:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CameronVetter/64e4389b3b847b77020d96cd51afa3b5 to your computer and use it in GitHub Desktop.
Save CameronVetter/64e4389b3b847b77020d96cd51afa3b5 to your computer and use it in GitHub Desktop.
Enable Occlusion snippet
public Material OccludedMaterial;
private void HideGridEnableOcclulsion()
{
SpatialUnderstandingMesh.MeshMaterial = OccludedMaterial;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment