Scatter Node: 2D Polygon Scattering#

Randomly scatters the prim locations of inputs:prims onto the polygons in inputs:surfacePrim.

Installation#

To use this Node, you must enable omni.replicator.core in the Extension Manager.

Inputs#

Name

Type

Description

Default

surfacePrim

bundle

prim(s) from which to sample

prims

bundle

prim(s) to set location

normalOffset

float

optional offset for sampled prims along surface normal

0

checkForCollisions

bool

whether sampling procedure should ensure that no prims overlap

False

execIn

execution

exec

seed

int

Random Number Generator seed. A value of less than 0 will indicate using the global seed.

Outputs#

Name

Type

Description

Default

execOut

execution

exec