Sample Population#

This node generates a random sample of assets from a weighted list of assets.

Installation#

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

Inputs#

Name

Type

Description

Default

seed

int

random seed

mode

token

Sampling mode

point_instance

populationName

string

Name of population

paths

token[]

Paths from which to sample

weights

float[]

Weights with which to sample paths

sampleSize

uint

Number of assets to sample

execIn

execution

exec

Outputs#

Name

Type

Description

Default

prims

bundle

Sampled prim paths.

execOut

execution

exec