[handle] = DisplayBrushFX(id, x, y[, table])
id
at the position specified
by x
,y
and it uses one of the many Hollywood transition effects
to display it. You need also specify the speed for the transition.
If layers are enabled, this command will add a new layer of the type
#BRUSH
to the layer stack.
Starting with Hollywood 4.0 this function uses a new syntax with just a single table as an optional argument. The old syntax is still supported for compatibility reasons. The optional table argument can be used to configure the transition effect. The following options are possible:
Type:
#RANDOMEFFECT
)
Speed:
#NORMALSPEED
)
Parameter:
#RANDOMPARAMETER
)
Async:
True
here DisplayBrushFX()
will exit immediately, returning a handle to an asynchronous
draw object which you can then draw using AsyncDrawFrame().
See AsyncDrawFrame for more information on asynchronous draw objects.
Async
has been set to True
(see above)DisplayBrushFX(1, 0, 0, #VLINES, 10) ; old syntax OR DisplayBrushFX(1, 0, 0, {Type = #VLINES, Speed = 10}) ; new syntaxThe above code displays brush 1 at 0:0 with a
#VLINES
transition
at speed 10.