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.
Inherited Members
NodeRuntime._parent
NodeRuntime._portList
NodeRuntime._queryPath
NodeRuntime._tickCPUTimeNs
NodeRuntime.Initialize(SystemGraphComponent)
NodeRuntime.Disable()
NodeRuntime.FixedUpdate()
NodeRuntime.InitializeDynamicPorts(SystemGraphComponent)
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. |