Class GridDistribution
The role of this class is describe the distribution of OrientedPoints like a grid pattern. Useful to define how light
beams are positioned to scan a specific area.
Inheritance
GridDistribution
Syntax
[NodeCategory("Distribution", "Grid", NodeTick.Asynchronous, (LifeCycle)0, 0F, NodeMode.Standard, false)]
public class GridDistribution : NodeRuntime
Fields
points
Declaration
[Tooltip("List of points with their orientation.")]
[Field("Points", PortDirection.Right, FieldExtra.Write)]
[SerializeField]
public PortType<OrientedPoints> points
Field Value
xCount
Declaration
[Tooltip("Number of cells on X axis looking at Z+.")]
[Field("xCount", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
[SerializeField]
protected PortType<uint> xCount
Field Value
xStart
Declaration
[Tooltip("Position in meter of the first cell on X axis looking at Z+.")]
[Field("xStart", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
[SerializeField]
protected PortType<float> xStart
Field Value
xStep
Declaration
[Tooltip("Distance in meter between cells on X axis looking at Z+.")]
[Field("xStep", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
[SerializeField]
protected PortType<float> xStep
Field Value
yCount
Declaration
[Tooltip("Number of cells on Y axis looking at Z+.")]
[Field("yCount", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
[SerializeField]
protected PortType<uint> yCount
Field Value
yStart
Declaration
[Tooltip("Position in meter of the first cell on Y axis looking at Z+.")]
[Field("yStart", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
[SerializeField]
protected PortType<float> yStart
Field Value
yStep
Declaration
[Tooltip("Distance in meter between cells on Y axis looking at Z+.")]
[Field("yStep", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
[SerializeField]
protected PortType<float> yStep
Field Value
zOffset
Declaration
[Tooltip("Distance in meter on Z axis.")]
[Field("zOffset", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
[SerializeField]
protected PortType<float> zOffset
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