OmniGraph Node omni.graph.nodes.TranslateToTarget¶
omni.graph.nodes.TranslateToTarget Properties¶
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Translate To Target |
__categories |
sceneGraph |
Generated Class Name |
OgnTranslateToTargetDatabase |
Python Module |
omni.graph.nodes |
omni.graph.nodes.TranslateToTarget Description¶
This node smoothly translates a prim object to a target prim object given a speed and easing factor. At the end of the maneuver, the source prim will have the same translation as the target prim
omni.graph.nodes.TranslateToTarget Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:execIn |
execution |
None |
Y |
The input execution |
uiName |
Execute In |
|||
inputs:exponent |
float |
2.0 |
Y |
The blend exponent, which is the degree of the ease curve (1 = linear, 2 = quadratic, 3 = cubic, etc). |
__default |
2.0 |
|||
inputs:sourcePrim |
bundle |
None |
The source prim to be transformed |
|
inputs:sourcePrimPath |
path |
None |
The source prim to be transformed, used when ‘useSourcePath’ is true |
|
inputs:speed |
double |
1.0 |
Y |
The peak speed of approach (Units / Second) |
__default |
1.0 |
|||
inputs:stop |
execution |
None |
Y |
Stops the maneuver |
uiName |
Stop |
|||
inputs:targetPrim |
bundle |
None |
The destination prim. The target’s translation will be matched by the sourcePrim |
|
inputs:targetPrimPath |
path |
None |
The destination prim. The target’s translation will be matched by the sourcePrim, used when ‘useTargetPath’ is true |
|
inputs:useSourcePath |
bool |
False |
Y |
When true, the ‘sourcePrimPath’ attribute is used, otherwise it will read the connection at the ‘sourcePrim’ attribute |
__default |
false |
|||
inputs:useTargetPath |
bool |
False |
Y |
When true, the ‘targetPrimPath’ attribute is used, otherwise it will read the connection at the ‘targetPrim’ attribute |
__default |
false |
omni.graph.nodes.TranslateToTarget Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:finished |
execution |
None |
Y |
The output execution, sent one the maneuver is completed |
uiName |
Finished |