Class PhotosensorToIntensityBufferV2
The role of this class is to interpret the data incoming from the photosensor into an intensity buffer. The internal shader does extract the intensity information and format it into a compute buffer according to the frame information.
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("Photosensor Transcoder", "PhotosensorToIntensityBuffer v2", NodeTick.Asynchronous, (LifeCycle)0, 0, NodeMode.Standard, false)]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.sensorsdk@2.1/manual/NodeReference/PhotosensorTranscoder/PhotosensorToIntensityBuffer.html")]
public class PhotosensorToIntensityBufferV2 : PhotosensorTranscoder
Fields
Name | Description |
---|---|
_intensity | A frame of sampled intensity values. |
intensity |
Methods
Name | Description |
---|---|
Disable() | Disable the change event on the input render texture and release the graphic resources. |
Enable(ClockState) | Enable the change event on the input render texture and initialize the compute shader. |
Transcode(CustomPassContext) | Convert the photosensor sampling data into an intensity buffer. |