SAudioReactiveParticleSystem
ClientComponents
On this classEnabled
Members 12
| Property | Enabled | – |
| Property | Target | – |
| Property | Position | – |
| Property | MinPosition | – |
| Property | MaxPosition | – |
| Property | Rotation | – |
| Property | MinRotation | – |
| Property | MaxRotation | – |
| Property | Scale | – |
| Property | MinScale | – |
| Property | MaxScale | – |
| Property | GameObject | Returns a reference to the GameObject of this component. |
Properties
Enabled
bool Enabled {get; set; }
Example
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.Enabled = true
Lua
--clicking this object will Enable/Disable it's Audio Reactive Particle System component
thisGameObject = Space.Host.ExecutingObject
component = thisGameObject.AudioReactiveParticleSystem
OnClick = function()
component.Enabled = not component.Enabled
end
thisGameObject.AddClickable()
thisGameObject.Clickable.OnClick(OnClick)
Target
Example
Lua
targetGameObject = Space.Host.ExecutingObject.AudioReactiveParticleSystem.Target
Position
bool Position {get; set; }
Example
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.Position = true
MinPosition
Example
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MinPosition = Vector.New(0,0,0)
MaxPosition
Example
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MaxPosition = Vector.New(10,10,10)
Rotation
bool Rotation {get; set; }
Example
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.Rotation = true
MinRotation
Example
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MinRotation = Vector.New(0,0,0)
MaxRotation
Example
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MaxRotation = Vector.New(10,10,10)
Scale
bool Scale {get; set; }
Example
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.Scale = true
MinScale
Example
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MinScale = Vector.New(1,1,1)
MaxScale
Example
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MaxScale = Vector.New(1.2,1.2,1.2)
GameObjectRead only
Returns a reference to the GameObject of this component.
Example
Lua
theGameObject = Space.Host.ExecutingObject.AudioReactiveParticleSystem.GameObject



