This interface is built to handle number distribution for numbers (1d), points (2d) and vectors (3d). The base type the Distribution is using will have a direct impact on the way the numbers will clamp, generate or spread. Mostly use internally by ParticleNetwork to handle the multitude of ParticleModifier data; the distribution API can be use inside your application to handle dynamic numbers and more.
See Also
NumberDistribution
Handle the distribution of a single float value.
Static Variables
NumberImmutable
Properties of a single immutable value.
Variables
Name | Description |
constant | Constant value. |
Declaration
|
NumberRandom
Properties of a pseudo-random single value.
Variables
Name | Description |
min | The lower edge used in the pseudo-random number generation. |
Declaration
|
max | The upper edge used in the pseudo-random number generation. |
Declaration
|
NumberUniform
Properties of a single uniform distribution.
Static Variables
Name | Description |
curve_min | Curve that controls the minimum allowed value. |
Declaration
|
curve_max | Curve that controls the maximum allowed value. |
Declaration
|
Variables
NumberInterpolate
Settings of a linear uni-dimensional value interpolation.
Variables
Name | Description |
from | The starting point of the interpolation. |
Declaration
|
to | The end point of the interpolation. |
Declaration
|
NumberDriver
Access the related properties to control a driver distribution Curve for a single value.
Static Variables
Variables
PointDistribution
Handle the distribution of a two float values (a point).
Static Variables
Variables
Name | Description |
proportional | Force the first component X to be assigned to Y . |
Declaration
|
PointImmutable
Properties of a point immutable value.
Variables
Name | Description |
constant | Constant value. |
Declaration
|
PointRandom
Properties of a pseudo-random point value.
Variables
Name | Description |
min | The lower edge used in the pseudo-random point generation. |
Declaration
|
max | The upper edge used in the pseudo-random point generation. |
Declaration
|
PointUniform
Properties of a point uniform distribution.
Static Variables
Name | Description |
curve_min_x | Curve that controls the minimum X value. |
Declaration
|
curve_min_y | Curve that controls the maximum Y value. |
Declaration
|
curve_max_x | Curve that controls the maximum X value. |
Declaration
|
curve_max_y | Curve that controls the maximum Y value. |
Declaration
|
Variables
PointInterpolate
Settings of a linear two-dimensional value interpolation.
Variables
Name | Description |
from | The start value of the interpolation. |
Declaration
|
to | The end value of the interpolation. |
Declaration
|
PointDriver
Access the related properties to control a driver distribution Curve for a two-dimensional value.
Static Variables
Variables
VectorDistribution
Handle the distribution of a three float values (a vector).
Static Variables
Variables
Name | Description |
proportional | Force the first component X to be assigned to Y and Z . |
Declaration
|
VectorImmutable
Properties of a single vector value.
Variables
VectorRandom
Properties of an immutable vector value.
Variables
Name | Description |
min | The lower edge used in the pseudo-random vector generation. |
Declaration
|
max | The upper edge used in the pseudo-random vector generation. |
Declaration
|
VectorUniform
Properties of a vector uniform distribution.
Static Variables
Name | Description |
curve_min_x | Curve that controls the minimum X value. |
Declaration
|
curve_min_y | Curve that controls the maximum Y value. |
Declaration
|
curve_min_z | Curve that controls the minimum Z value. |
Declaration
|
curve_max_x | Curve that controls the maximum X value. |
Declaration
|
curve_max_y | Curve that controls the maximum Y value. |
Declaration
|
curve_max_z | Curve that controls the maximum Z value. |
Declaration
|
Variables
VectorInterpolate
Settings of a linear three-dimensional value interpolation.
Variables
Name | Description |
from | The start value of the interpolation. |
Declaration
|
to | The end value of the interpolation. |
Declaration
|
VectorDriver
Access the related properties to control a driver distribution Curve for a vector value.
Static Variables
Variables
DistributionType
Various types that can be applied to any sort of number distribution.
kImmutable
: Static number.
kRandom
: Pseudo-random number between two edges.
kUniform
: Min. and max. values are controlled by two curves.
kInterpolate
: Linear interpolation between edges.
kDriver
: The distribution value is controlled by one or multiple Curve.