(One intermediate revision by the same user not shown)
Line 3:
Line 3:
|Name=Reference Spatial Variable Collector`1
|Name=Reference Spatial Variable Collector`1
}}
}}
The '''Reference Spatial Variable Collector`1''' component is specifically for reference types This drives a list of references, filling it with all the found spatial variables.
The '''Reference Spatial Variable Collector`1''' component is specifically for reference types This drives a list of references, filling it with all the found spatial variables. It does this by reading all spatial variables of the reference type matching this one, and in range, and puts them into the referenced list.
== Fields ==
== Fields ==
Line 16:
Line 16:
== Examples ==
== Examples ==
This can be used to collect [[Type:AudioDSP_Filter|AudioDSP_Filter]] type filters and drive a [[Component:AudioListener]]'s audio effects. This can be used to create the effect of an area like a room having echo using [[Component:AudioZitaReverb]]s. See [[Component:AudioListener]] for more info.
This can be used to collect slots and put them into a list of bones on a mesh, or to apply audio effects to [[Component:AudioListener]]s.
Reference Spatial Variable Collector`1 component as seen in the Scene Inspector
The Reference Spatial Variable Collector`1 component is specifically for reference types This drives a list of references, filling it with all the found spatial variables. It does this by reading all spatial variables of the reference type matching this one, and in range, and puts them into the referenced list.