Class PhotosensorToPointCloud
The role of this class is to interpret the data incoming from the photosensor into a PointCloud data format to be consumed by the point cloud viewer node.
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
public class PhotosensorToPointCloud : PhotosensorEncoder
Fields
Name | Description |
---|---|
_pointCloud | Internal reference to the point cloud used to output the result. |
pointCloud |
Methods
Name | Description |
---|---|
Disable() | Disable change event on the inTranscode port and release the graphics resources. |
Enable(ClockState) | Initialize the PhotosensorEncoder compute shader with the PointCloudVfxCodec kernel and enable on change event on the on inTranscode port. |
InternalPrepareDispatch(CommandBuffer, PhotosensorOutputBuffer, int) | Device-specific command buffer setup for conversion to point cloud. |
InternalUpdateOutputs(PhotosensorOutputBuffer, int) | Device-specific state and outputs update after conversion to point cloud. |
Transcode(CustomPassContext) | Add to the command buffer the conversion of the photosensor sampling data into a point cloud buffer. |