OmniGraph Node omni.graph.nodes.RpResourceExampleDeformer¶
omni.graph.nodes.RpResourceExampleDeformer Properties¶
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
True |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
RpResource Example Deformer Node |
__tokens |
{“points”: “points”, “transform”: “transform”, “rpResource”: “rpResource”, “pointCount”: “pointCount”, “primPath”: “primPath”, “testToken”: “testToken”, “uintData”: “uintData”} |
Generated Class Name |
OgnRpResourceExampleDeformerDatabase |
Python Module |
omni.graph.nodes |
omni.graph.nodes.RpResourceExampleDeformer Description¶
Allocate CUDA-interoperable RpResource
omni.graph.nodes.RpResourceExampleDeformer Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:deformScale |
float |
1.0 |
Y |
Deformation control |
uiName |
Deform Scale |
|||
__default |
1.0 |
|||
inputs:displacementAxis |
int |
0 |
Y |
dimension in which mesh is translated |
uiName |
Displacement Axis |
|||
__default |
0 |
|||
inputs:pointCountCollection |
uint64[] |
[] |
Y |
Pointer to point counts collection |
uiName |
Point Counts |
|||
inputs:positionScale |
float |
1.0 |
Y |
Deformation control |
uiName |
Position Scale |
|||
__default |
1.0 |
|||
inputs:primPathCollection |
token[] |
[] |
Y |
Pointer to prim path collection |
uiName |
Prim Paths |
|||
inputs:resourcePointerCollection |
uint64[] |
[] |
Y |
Pointer to RpResource collection |
uiName |
Resource Pointer Collection |
|||
inputs:runDeformerKernel |
bool |
True |
Y |
Whether cuda kernel will be executed |
uiName |
Run Deformer |
|||
__default |
true |
|||
inputs:stream |
uint64 |
0 |
Y |
Pointer to the CUDA Stream |
uiName |
stream |
|||
inputs:timeScale |
float |
0.01 |
Y |
Deformation control |
uiName |
Time Scale |
|||
__default |
0.01 |
|||
inputs:verbose |
bool |
False |
Y |
verbose printing |
uiName |
Verbose |
|||
__default |
false |
omni.graph.nodes.RpResourceExampleDeformer Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:pointCountCollection |
uint64[] |
None |
Y |
Point count for each prim being deformed |
uiName |
Point Counts |
|||
outputs:primPathCollection |
token[] |
None |
Y |
Path for each prim being deformed |
uiName |
Prim Paths |
|||
outputs:reload |
bool |
False |
Y |
Force RpResource reload |
uiName |
Reload |
|||
__default |
false |
|||
outputs:resourcePointerCollection |
uint64[] |
None |
Y |
Pointers to RpResources (two resources per prim are assumed – one for rest positions and one for deformed positions) |
uiName |
Resource Pointer Collection |
|||
outputs:stream |
uint64 |
None |
Y |
Pointer to the CUDA Stream |
uiName |
stream |
omni.graph.nodes.RpResourceExampleDeformer State¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
state:sequenceCounter |
uint64 |
0 |
Y |
tick counter for animation |
__default |
0 |