sealed class Tinman.Demo.Examples.Impl.Example_ParticleSource

Derived from

ParticleSource abstract

Full source code is included in the Tinman 3D SDK download.

This example shows how to create particle source for a particle effect.

A burning fire is created in a 3D box with a hard-coded position. Explosions can be triggered with Explode.

Public / Methods


public method Explode → (2)

sphere in : Sphere

The sphere that depicts the volume of the explosion.

velocity in : Vec3D

The initial velocity of the exploding sphere.

Creates an explosion by creating fire particles within the given sphere.