pointSamplingConfig
: PointSamplingConfig |
Signature
PointSamplingConfig pointSamplingConfig |
Vector2 |
Generates uniform sampling points with simplex noise applied for a given plane in localspace.
The points will be generated based on the specified resolution within the interior of the plane, with no points on the borders. If the plane is too small, at least one point will still be generated.
Signature
Vector2[] |
Distribute
(
sceneDecorator
, sceneAnchor
, sceneDecoration
)
|
Distributes a scene decoration across a surface defined by an MRUKAnchor using the generated sampling points.
Signature
void Distribute(SceneDecorator sceneDecorator, MRUKAnchor sceneAnchor, SceneDecoration sceneDecoration) Parameters sceneAnchor: MRUKAnchor
The MRUKAnchor that defines the surface on which to distribute the decoration.
Returns void |
noiseOffsetRadius
: float |
Signature
float noiseOffsetRadius |
pointsPerUnitX
: float |
Signature
float pointsPerUnitX |
pointsPerUnitY
: float |
Signature
float pointsPerUnitY |
DefaultConfig
: PointSamplingConfig |
Signature
PointSamplingConfig DefaultConfig |