OmniGraph Node omni.graph.nodes.Generate3dText¶
omni.graph.nodes.Generate3dText Properties¶
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
Python |
Default Memory Type |
cpu |
Generated Code Exclusions |
tests |
uiName |
Generate 3D Text |
__categories |
geometry:generator |
__exclusions |
tests |
__language |
Python |
Generated Class Name |
OgnGenerate3dTextDatabase |
Python Module |
omni.graph.nodes |
omni.graph.nodes.Generate3dText Description¶
- Generates 3D text on stage by instancing letter meshes.
inputs:fontPrim should be the parent prim of the letter meshes used for this node. Letter mesh prim names should follow the naming convention of alpha_{char} where char is a single case-sensitive letter to be matched in the given text, or chr_{num} where num is an integer which corresponds to a unicode code point, to be matched in the given text. For example ‘alpha_w’ matches ‘w’, and ‘chr_36’ matches ‘$’. It is recommended that the fontPrim is an ‘over’ so that the prototypes will not be included in normal stage traversal.
omni.graph.nodes.Generate3dText Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:alignment |
token |
Left |
Y |
Alignment style |
allowedTokens |
Left,Center,Right |
|||
__allowedTokens |
[“Left”, “Center”, “Right”] |
|||
uiName |
Alignment |
|||
__default |
“Left” |
|||
inputs:characterSpacing |
float |
65.0 |
Y |
The relative spacing between letters |
uiName |
Character Spacing |
|||
__default |
65.0 |
|||
inputs:execIn |
execution |
None |
Y |
The execution input |
uiName |
In |
|||
inputs:fontPrim |
bundle |
None |
Y |
The parent Prim of the letter meshes |
uiName |
Font Prim |
|||
inputs:instancerPrim |
bundle |
None |
Y |
The instancer prim to be used for the generated text |
uiName |
PointInstancer Prim |
|||
inputs:scale |
float |
1.0 |
Y |
The scale of letters shown |
uiName |
Scale |
|||
__default |
1.0 |
|||
inputs:text |
string |
Y |
The text to be displayed on stage |
|
uiName |
Text |
omni.graph.nodes.Generate3dText Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:execOut |
execution |
None |
Y |
The execution output |
uiName |
Out |