Clamp Double (Python)

Example node that a number to a range

Installation

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

Inputs

Name

Type

Description

Default

num

double

Input number

0

min

double

Mininum value

0

max

double

Maximum value

0

Outputs

Name

Type

Description

Default

out

double

The result of the number, having been clamped to the range min,max