Class PolarDistribution
The role of this class is describe the distribution of OrientedPoints on a sphere surface.
Inheritance
PolarDistribution
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
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
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
elevationCount
Declaration
[Tooltip("Number of point on the elevation.")]
[Field("ElevationCount", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
[SerializeField]
protected PortType<uint> elevationCount
Field Value
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
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
offset
Declaration
[Tooltip("Distance from the center.")]
[Field("Offset", PortDirection.Left, FieldExtra.Read | FieldExtra.ChangeEvent)]
[SerializeField]
protected PortType<float> offset
Field Value
points
Declaration
[Tooltip("List of points with their orientation.")]
[Field("Points", PortDirection.Right, FieldExtra.Write)]
[SerializeField]
public PortType<OrientedPoints> points
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