docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RenderTextureViewer

    The role of this class is to instantiate a raw image viewer to display on screen the RenderTexture received on its input port.

    Inheritance
    object
    NodeRuntime
    RenderTextureViewer
    Inherited Members
    NodeRuntime._parent
    NodeRuntime._portList
    NodeRuntime._queryPath
    NodeRuntime._tickCPUTimeNs
    NodeRuntime.Initialize(SystemGraphComponent)
    NodeRuntime.InternalInitialize()
    NodeRuntime.Start()
    NodeRuntime.Disable()
    NodeRuntime.OnTick(double, double, Scheduler.ClockState, Scheduler.Signal)
    NodeRuntime.FixedUpdate()
    NodeRuntime.OnPortAdded(string, Type, string, PortDirection, FieldExtra, ref IPortType)
    NodeRuntime.OnPortRemoved(string)
    NodeRuntime.InitializeDynamicPorts(SystemGraphComponent)
    NodeRuntime.QueryPath
    NodeRuntime.TickCPUTimeNs
    NodeRuntime.PortDataList
    Namespace: Mechatronics.SensorSDK
    Assembly: solution.dll
    Syntax
    [NodeCategory("Viewer", "RenderTexture viewer", NodeTick.Asynchronous, LifeCycle.Update, 0, NodeMode.Standard, false)]
    public class RenderTextureViewer : NodeRuntime

    Fields

    Name Description
    enable
    imageName
    renderTexture

    Methods

    Name Description
    Enable(ClockState)

    Create a canvas, if it doesn't exist, and setup the viewer into it.

    Update()

    Update the raw image on the canvas with the render texture on the input port.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)