API Docs for:
Show:

gs.EffectCollection Class

An effect collection stores all effects by name. So if you add custom effects, you have to create an own class and inherit from this class and add your own effects in the constructor. It is important to put the super-call at the end and not at the beginning.

Constructor

gs.EffectCollection

()

Item Index

Methods

Methods

initialize

()

Initializes the collection. This method is automatically called in the constructor and doesn't need to be called manually. It only needs to be called once. It is important that all custom effects are already registered using gs.Effect.register before this method is called.