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, you must enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Description

Default

Execute In (execIn)

execution

The input execution

Stop (stop)

execution

Stops the maneuver

prim

target

The prim to be scaled

usePath

bool

When true, the ‘primPath’ attribute is used, otherwise it will read the connection at the ‘prim’ attribute

False

primPath

path

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

target

vectord[3]

The desired local scale

speed

double

The peak speed of approach (Units / Second)

1.0

exponent

float

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

2.0

Outputs

Name

Type

Description

Default

Finished (finished)

execution

The output execution, sent one the maneuver is completed