Scale To Size

Perform a smooth scaling maneuver, scaling a prim to a desired size tuple given a speed and easing factor

Installation

To use this node enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Descripton

Default

Execute In (inputs:execIn)

execution

Signal to the graph that this node is ready to be executed.

None

Ease Exponent (inputs:exponent)

float

The blend exponent, which is the degree of the ease curve (1 = linear, 2 = quadratic, 3 = cubic, etc).

2.0

Prim (inputs:prim)

target

The prim to be scaled

None

Prim Path (inputs:primPath)

path

The source prim to be transformed, used when ‘Use Path’ is true

None

Speed (inputs:speed)

double

The peak speed of approach (Units / Second)

1.0

Stop (inputs:stop)

execution

Signal to the graph that this node is ready to stop the maneuver.

None

Target Scale (inputs:target)

vectord[3]

The desired local scale

[0.0, 0.0, 0.0]

Use Path (inputs:usePath)

bool

When true, the ‘Prim Path’ attribute is used, otherwise it will read the connection at the ‘Prim’ attribute

False

Outputs

Name

Type

Descripton

Default

Finished (outputs:finished)

execution

When the maneuver is completed, signal to the graph that execution can continue downstream.

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.ScaleToSize

Version

2

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Scale To Size

Categories

sceneGraph

Generated Class Name

OgnScaleToSizeDatabase

Python Module

omni.graph.nodes