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
FrustumDistribution
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
fovAxis
Declaration
[Tooltip("Vertical or horizontal fov")]
[Field("FOV Axis", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
[SerializeField]
protected PortTypeEnum fovAxis
Field Value
points
Declaration
[Tooltip("List of points with their orientation.")]
[Field("Points", PortDirection.Right, FieldExtra.Write)]
[SerializeField]
public PortType<OrientedPoints> points
Field Value
resolutionX
Declaration
[Tooltip("Number of points / pixels horizontally")]
[Field("ResolutionX", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
[SerializeField]
protected PortType<uint> resolutionX
Field Value
resolutionY
Declaration
[Tooltip("Number of points/pixels vertically")]
[Field("ResolutionY", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
[SerializeField]
protected PortType<uint> resolutionY
Field Value
Methods
Disable()
Forwarded OnDisable Unity event from the parent SystemGraphComponent
Declaration
public override void Disable()
Overrides
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