Class GreenFilter
The role of this class is to keep only the green channel information from the incoming render texture.
Inherited Members
NodeRuntime._parent
NodeRuntime._portList
NodeRuntime._queryPath
NodeRuntime._tickCPUTimeNs
NodeRuntime.Initialize(SystemGraphComponent)
NodeRuntime.FixedUpdate()
NodeRuntime.InitializeDynamicPorts(SystemGraphComponent)
Namespace: Mechatronics.SensorSDK
Assembly: solution.dll
Syntax
[NodeCategory("Color filter", "GreenFilter", NodeTick.Asynchronous, (LifeCycle)0, 0, NodeMode.Standard, false)]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.sensorsdk@2.1/manual/DeveloperGuide/Transcoders.html")]
public class GreenFilter : RenderTextureTranscoder
Methods
Name | Description |
---|---|
Disable() | Disable the change event on the inTranscode port and release graphics resources. |
Enable(ClockState) | Initialize the filter and enable on change event on the on inTranscode port. |
Transcode(CustomPassContext) | Add to the command buffer the process of removing all color channels and keeping only the green one. |