SAudioReactiveParticleSystem
客户端组件
成员 12
| 属性 | Enabled | – |
| 属性 | Target | – |
| 属性 | Position | – |
| 属性 | MinPosition | – |
| 属性 | MaxPosition | – |
| 属性 | Rotation | – |
| 属性 | MinRotation | – |
| 属性 | MaxRotation | – |
| 属性 | Scale | – |
| 属性 | MinScale | – |
| 属性 | MaxScale | – |
| 属性 | GameObject | Returns a reference to the GameObject of this component. |
属性
Enabled
bool Enabled {get; set; }
示例
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
示例
Lua
targetGameObject = Space.Host.ExecutingObject.AudioReactiveParticleSystem.Target
Position
bool Position {get; set; }
示例
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.Position = true
MinPosition
示例
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MinPosition = Vector.New(0,0,0)
MaxPosition
示例
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MaxPosition = Vector.New(10,10,10)
Rotation
bool Rotation {get; set; }
示例
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.Rotation = true
MinRotation
示例
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MinRotation = Vector.New(0,0,0)
MaxRotation
示例
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MaxRotation = Vector.New(10,10,10)
Scale
bool Scale {get; set; }
示例
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.Scale = true
MinScale
示例
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MinScale = Vector.New(1,1,1)
MaxScale
示例
Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MaxScale = Vector.New(1.2,1.2,1.2)
GameObject只读
Returns a reference to the GameObject of this component.
示例
Lua
theGameObject = Space.Host.ExecutingObject.AudioReactiveParticleSystem.GameObject



