Class PhotosensorToRangeV2
Expose the conversion of photosensor sampling data to a range image as a node in SystemGraph.
Inheritance
PhotosensorToRangeV2
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", "PhotosensorToRange v2", NodeTick.Asynchronous, (LifeCycle)0, 0, NodeMode.Standard, false)]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.sensorsdk@2.1/manual/NodeReference/PhotosensorTranscoder/PhotosensorToRange.html")]
public class PhotosensorToRangeV2 : PhotosensorToTextureV2
Remarks
The internal shader outputs the spherical distance in meters.
Constructors
Name | Description |
---|---|
PhotosensorToRangeV2() | Initializes and returns an instance of PhotosensorToRangeV2. |
Fields
Name | Description |
---|---|
rangeImage |
Methods
Name | Description |
---|---|
SetOutputTexture(RenderTexture) | This function is called upon processing the data extraction, the output texture may now be used for proceeding gpu operations. |