SAudioReactiveParticleSystem
ClientComposants
Dans cette classeEnabled
Membres 12
| Propriété | Enabled | – |
| Propriété | Target | – |
| Propriété | Position | – |
| Propriété | MinPosition | – |
| Propriété | MaxPosition | – |
| Propriété | Rotation | – |
| Propriété | MinRotation | – |
| Propriété | MaxRotation | – |
| Propriété | Scale | – |
| Propriété | MinScale | – |
| Propriété | MaxScale | – |
| Propriété | GameObject | Returns a reference to the GameObject of this component. |
Propriétés
Enabled
bool Enabled {get; set; }
Exemple
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
Exemple
Lua
targetGameObject = Space.Host.ExecutingObject.AudioReactiveParticleSystem.Target
Position
bool Position {get; set; }
Exemple
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.Position = true
MinPosition
Exemple
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MinPosition = Vector.New(0,0,0)
MaxPosition
Exemple
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MaxPosition = Vector.New(10,10,10)
Rotation
bool Rotation {get; set; }
Exemple
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.Rotation = true
MinRotation
Exemple
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MinRotation = Vector.New(0,0,0)
MaxRotation
Exemple
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MaxRotation = Vector.New(10,10,10)
Scale
bool Scale {get; set; }
Exemple
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.Scale = true
MinScale
Exemple
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MinScale = Vector.New(1,1,1)
MaxScale
Exemple
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MaxScale = Vector.New(1.2,1.2,1.2)
GameObjectLecture seule
Returns a reference to the GameObject of this component.
Exemple
Lua
theGameObject = Space.Host.ExecutingObject.AudioReactiveParticleSystem.GameObject



