Modifica

Condividi tramite


DepthBufferRenderer Class

Definition

Component should be applied to the main camera and will apply post-process procedure to blit the scene's rendered depth buffer as the color output

public ref class DepthBufferRenderer : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Core/DepthBufferRenderer")]
[UnityEngine.ExecuteInEditMode]
public class DepthBufferRenderer : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Core/DepthBufferRenderer")>]
[<UnityEngine.ExecuteInEditMode>]
type DepthBufferRenderer = class
    inherit MonoBehaviour
Public Class DepthBufferRenderer
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
DepthBufferRenderer
Attributes
UnityEngine.AddComponentMenuAttribute UnityEngine.ExecuteInEditModeAttribute

Constructors

DepthBufferRenderer()

Properties

OutputTexture

If not null, depth buffer rendering output will blit to this RenderTexture. If null, normal operation will blit the depth buffer as color to the screen.

Applies to