-
Notifications
You must be signed in to change notification settings - Fork 13
CustomBlock
The custom block enables writing custom HLSL/Compute code and use it in the graph. While it is a custom block, and generates code, it can break easily as it can generate compilation errors. Benefits from this block include the use of iterative statements (for, while loops).
The block can be added (by default) on all GPU-compatible contexts (initialize/update/output), for both particle, and particle strips.
The block can be configured using its own inspector.
Block Name : name of the block, as it will appear on the title
Configuration
- Context Type : Contexts where the block is allowed
- Compatible Data : Data type compatible with the block (Particles and/or ParticleStrips)
Attributes : The list of attributes used in the block and whether they can be read/written Custom Attributes : A list of additional custom (non-standard) attributes used in the block and whether they can be read/written
Properties : The list of properties (connectable) that will be available on the node.
Options
-
Use Total Time makes available the
float totalTime
value to be read in the block -
Use Delta Time makes available the
float deltaTime
value to be read in the block -
Use Random makes available the
RAND
andRAND3
macro values to be read in the block
- Blocks and Features
- Other Runtime Features