Highlighter Settings

How to access and change the settings of the highlighter:

 // Updating any value will result in an update of all material
 // properties that are using the updated values and/or updated 
 // of render buffers
 
 // Stop rendering depth mask
 highlighter.Settings.DepthMask = DepthMask.Disable;
 
 // Start rendering outer glow
 highlighter.Settings.UseOuterGlow = true;
 
 // Change outer glow iterations value
 highlighter.Settings.BlurIterations = 50;
 
 // Start rendering overlay
 highlighter.Settings.UseOverlay = true;
 
 // Access the front color of the overlay
 highlighter.Settings.OverlayFront.Color = new Color(0.6f, 0.6f, 0, 0);

See properties to get an overview of every property that can be changed here.

"Depending on the Masking value, you will need to change different properties in order to modify the features: If Masking is set to 'Both':

  • 'overlayFront', 'meshOutlineFront', 'innerGlowFront', are responsible for front rendering

  • 'overlayBack', 'meshOutlineBack', 'innerGlowBack', are responsible for back rendering If Masking is set to 'Front' or 'Disable':

  • 'overlayFront', 'meshOutlineFront', 'innerGlowFront', are responsible for rendering the features If Masking is set to 'Back':

  • 'overlayBack', 'meshOutlineBack', 'innerGlowBack', are responsible for rendering the features"

Last updated