docs.unity3d.com
    Show / Hide Table of Contents

    Class FrustumDistribution

    The role of this class is describe the distribution of OrientedPoints like a camera frustum. Useful to define how light beams are positioned for a time of flight (ToF) camera.

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

    Fields

    fov

    Declaration
    [Tooltip("Field of view")]
    [Field("FOV", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
    [SerializeField]
    protected PortType<float> fov
    Field Value
    Type Description
    PortType<Single>

    fovAxis

    Declaration
    [Tooltip("Vertical or horizontal fov")]
    [Field("FOV Axis", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
    [SerializeField]
    protected PortTypeEnum fovAxis
    Field Value
    Type Description
    PortTypeEnum

    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>

    resolutionX

    Declaration
    [Tooltip("Number of points / pixels horizontally")]
    [Field("ResolutionX", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
    [SerializeField]
    protected PortType<uint> resolutionX
    Field Value
    Type Description
    PortType<UInt32>

    resolutionY

    Declaration
    [Tooltip("Number of points/pixels vertically")]
    [Field("ResolutionY", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
    [SerializeField]
    protected PortType<uint> resolutionY
    Field Value
    Type Description
    PortType<UInt32>

    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