docs.unity3d.com
    Show / Hide Table of Contents

    Class PointCloudViewer

    The role of this class is to instanciate a vfx on the main camera that will display the PointCloud data received on its input port.

    Inheritance
    Object
    NodeRuntime
    PointCloudViewer
    Inherited Members
    NodeRuntime._parent
    NodeRuntime._portList
    NodeRuntime._queryPath
    NodeRuntime._tickCPUTimeNs
    NodeRuntime.Initialize(SystemGraphComponent)
    NodeRuntime.InternalInitialize()
    NodeRuntime.Start()
    NodeRuntime.OnTick(Double, Double, Scheduler.ClockState, Scheduler.Signal)
    NodeRuntime.FixedUpdate()
    NodeRuntime.OnPortAdded(String, Type, String, PortDirection, FieldExtra, IPortType)
    NodeRuntime.OnPortRemoved(String)
    NodeRuntime.InitializeDynamicPorts(SystemGraphComponent)
    NodeRuntime.QueryPath
    NodeRuntime.TickCPUTimeNs
    NodeRuntime.PortDataList
    Namespace: Mechatronics.SensorSDK
    Syntax
    [NodeCategory("Viewer", "Point cloud viewer", NodeTick.Asynchronous, LifeCycle.Update, 0F, NodeMode.Standard, false)]
    public class PointCloudViewer : NodeRuntime

    Fields

    boundTransform

    Declaration
    [Binding("Transform")]
    [SerializeField]
    protected Binding<Transform> boundTransform
    Field Value
    Type Description
    Binding<Transform>

    enable

    Declaration
    [Tooltip("Active the node.")]
    [Field("Enable", PortDirection.Left, FieldExtra.Read)]
    [SerializeField]
    protected PortType<bool> enable
    Field Value
    Type Description
    PortType<Boolean>

    isColorByDistance

    Declaration
    [Tooltip("Define if the point coloring should be based on distance or intensity.")]
    [Field("colorByDistance", PortDirection.Left, FieldExtra.Read)]
    [SerializeField]
    protected PortType<bool> isColorByDistance
    Field Value
    Type Description
    PortType<Boolean>

    pointCloud

    Declaration
    [Tooltip("Point cloud to visualize.")]
    [Field("PointCloud", PortDirection.Left, FieldExtra.Read)]
    [SerializeField]
    protected PortType<PointCloud> pointCloud
    Field Value
    Type Description
    PortType<PointCloud>

    pointCloudViewerName

    Declaration
    [Tooltip("Name of the gameobject set on the main camera that will host the point cloud vfx.")]
    [Field("PointCloudViewerName", PortDirection.Left, FieldExtra.Read)]
    [SerializeField]
    protected PortType<string> pointCloudViewerName
    Field Value
    Type Description
    PortType<String>

    pointSize

    Declaration
    [Tooltip("Define the point size in meters.")]
    [Field("pointSize", PortDirection.Left, FieldExtra.Read)]
    [SerializeField]
    protected PortType<float> pointSize
    Field Value
    Type Description
    PortType<Single>

    Methods

    Disable()

    Destroy the GameObject that host the vfx used to display point cloud.

    Declaration
    public override void Disable()
    Overrides
    NodeRuntime.Disable()

    Enable(Scheduler.ClockState)

    Create a game object on the main camera and instanciate a vfx to display a point cloud.

    Declaration
    public override void Enable(Scheduler.ClockState clockState)
    Parameters
    Type Name Description
    Scheduler.ClockState clockState

    The parameters of the waveform associated to this node

    Overrides
    NodeRuntime.Enable(Scheduler.ClockState)

    Update()

    Update the point cloud vfx parameters

    Declaration
    public override void Update()
    Overrides
    NodeRuntime.Update()
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023