glscene

 

TGLFireFXManager

Page history last edited by skinhat 3 yrs ago

Displays particles that look like fire.

Fire is an effect and can be added to the effects attribute of a GLScene object. For example, fire can be made to appear from a sphere or a dummycube. To add fire to a GLScene object follow the following steps:

1. Drag a GLFireFXManager component to your GLScene project at design time

2. On the GLScene object in your project that you wish fire to appear from, click on the effects attribute in the object inspector

3. An effects dialog will appear and if you click on the + button click on FireFX

4. The FireFX effect will appear in the object inspector. Set the manager attribute to the GLFireFXManager you dragged into your project.

Note that many GLScene objects can share the same firefxmanager.

Refer to the effects article for more information regarding effects.

Important TGLFireFXManager properties include:

innercolor: TGLColor The inner color of the flame

outercolor: TGLColor The outer color of the flame

particleinterval: Seconds between the production of the next fire particle

particlelife: Number of seconds the fire particle lasts before disappearing

particlesize: Size of fire particles

Demo: CVS/Demos/specialsFX/fire

Unit: GLFireFX

Descends from TGLCadenceAbleComponent.

Comments (0)

You don't have permission to comment on this page.