Class MeshOutline
Component which can be used to render an outline around a mesh renderer. Enabling this component introduces an additional render pass of the object being outlined, but is designed to run performantly on mobile Mixed Reality devices and does not utilize any post processes. This behavior is designed to be used in conjunction with the MRTK/Standard shader. Limitations of this effect include it not working well on objects which are not watertight (or required to be two sided) and depth sorting issues can occur on overlapping objects.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities
Assembly: cs.temp.dll.dll
Syntax
public class MeshOutline : BaseMeshOutline
Methods
ApplyOutlineMaterial()
Prepares and applies the current outline material to the renderer.
Declaration
protected override void ApplyOutlineMaterial()
Overrides
ApplyOutlineWidth()
Updates the current vertex extrusion value used by the shader.
Declaration
protected override void ApplyOutlineWidth()