PopcornFX v2.16

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
  1. Home
  2. Docs
  3. PopcornFX v2.16
  4. Concepts
  5. Samplers
  6. Text sampler

Text sampler

The text sampler allows you to sample a text file or text string, and get the ASCII code of each character. It is useful to use as a TextureID and index a texture atlas to display text particles:

Text sampler
Here we use the text sampler to retrieve a TextureID for a renderer using a “text” texture atlas

 

NOTE: a future iteration of the text sampler might allow to actually sample random positions on a text as if it was a 3D mesh sampler.

 

Text samplers are commonly used with the following templates:

  • TextSample
Was this article helpful to you? Yes No

How can we help?