docs.unity3d.com
    Show / Hide Table of Contents

    Class PolarDistribution

    The role of this class is describe the distribution of OrientedPoints on a sphere surface.

    Inheritance
    Object
    NodeRuntime
    PolarDistribution
    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.Update()
    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("Distribution", "Polar", NodeTick.Asynchronous, (LifeCycle)0, 0F, NodeMode.Standard, false)]
    public class PolarDistribution : NodeRuntime

    Fields

    azimuthCount

    Declaration
    [Tooltip("Number of point on the azimuth.")]
    [Field("AzimuthCount", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
    [SerializeField]
    protected PortType<uint> azimuthCount
    Field Value
    Type Description
    PortType<UInt32>

    azimuthStart

    Declaration
    [Tooltip("Start angle on the azimuth to generate points.")]
    [Field("AzimuthStart", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
    [SerializeField]
    protected PortType<float> azimuthStart
    Field Value
    Type Description
    PortType<Single>

    azimuthStep

    Declaration
    [Tooltip("Angle between each point on the azimuth.")]
    [Field("AzimuthStep", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
    [SerializeField]
    protected PortType<float> azimuthStep
    Field Value
    Type Description
    PortType<Single>

    elevationCount

    Declaration
    [Tooltip("Number of point on the elevation.")]
    [Field("ElevationCount", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
    [SerializeField]
    protected PortType<uint> elevationCount
    Field Value
    Type Description
    PortType<UInt32>

    elevationStart

    Declaration
    [Tooltip("Start angle on the elevation to generate points.")]
    [Field("ElevationStart", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
    [SerializeField]
    protected PortType<float> elevationStart
    Field Value
    Type Description
    PortType<Single>

    elevationStep

    Declaration
    [Tooltip("Angle between each point on the elevation.")]
    [Field("ElevationStep", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
    [SerializeField]
    protected PortType<float> elevationStep
    Field Value
    Type Description
    PortType<Single>

    offset

    Declaration
    [Tooltip("Distance from the center.")]
    [Field("Offset", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
    [SerializeField]
    protected PortType<float> offset
    Field Value
    Type Description
    PortType<Single>

    points

    Declaration
    [Tooltip("List of points with their orientation.")]
    [Field("Points", PortDirection.Right, FieldExtra.Write)]
    [SerializeField]
    public PortType<OrientedPoints> points
    Field Value
    Type Description
    PortType<OrientedPoints>

    Methods

    Disable()

    Forwarded OnDisable Unity event from the parent SystemGraphComponent

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

    Enable(Scheduler.ClockState)

    Setup the change event on ports an generate the distribution.

    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)
    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