Random Unit Vector

Generates a random vector with uniform distribution on the unit sphere.

Installation

To use this Node, you must enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Description

Default

execIn

execution

The input execution port to output a new random value

Seed (seed)

uint64

The seed of the random generator.

Use seed? (useSeed)

bool

Use the custom seed instead of a random one?

False

Outputs

Name

Type

Description

Default

Random Unit Vector (random)

vectorf[3]

The random unit vector that was generated

execOut

execution

The output execution port