PopcornFX v2.18

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
  1. Home
  2. Docs
  3. PopcornFX v2.18
  4. Node Reference
  5. Builtin nodes
  6. Samplers
  7. Text



The text sampler allows you to sample text files or a text string defined in the node, and retrieve the ASCII code of each character. The raw ascii code can then be remapped in the simulation graph to lookup a texture atlas, allowing to draw text as particles.
It can be used either through the text sampler script functions, or using the template core-library nodes, such as TextSample.


DataSourceenumSpecifies where the sampler fetches the text data

  • Inline: text is specified directly in the sampler properties
  • External: sampler will load an external text file
InlineTextstringText to be sampled. Only available when DataSource is set to Inline
ExternalResourceassetPathPath to the text file containing the text to be sampled. Only available when DataSource is set to External
FontFileassetPathPath to the font file to be used for font metrics (width / kerning)
UseKerningboolIf disabled, will not use kerning information, but still use glyph widths contained in the kerning file
Output pins
DatadataTextThe text data that can be plugged in the TextSample node.
+ all sampler properties


Was this article helpful to you? Yes No

How can we help?