Breakroom is now Sinewave Campus. Book a meeting

SAudioReactiveParticleSystem

ClientComposants
Dans cette classeEnabled
  1. Propriétés
  2. Enabled
  3. Target
  4. Position
  5. MinPosition
  6. MaxPosition
  7. Rotation
  8. MinRotation
  9. MaxRotation
  10. Scale
  11. MinScale
  12. MaxScale
  13. GameObject
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éGameObjectReturns 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​

SGameObject Target {get; set; }

Exemple

Lua
targetGameObject = Space.Host.ExecutingObject.AudioReactiveParticleSystem.Target

Position​

bool Position {get; set; }

Exemple

Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.Position = true

MinPosition​

SVector MinPosition {get; set; }

Exemple

Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MinPosition = Vector.New(0,0,0)

MaxPosition​

SVector MaxPosition {get; set; }

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​

SVector MinRotation {get; set; }

Exemple

Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MinRotation = Vector.New(0,0,0)

MaxRotation​

SVector MaxRotation {get; set; }

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​

SVector MinScale {get; set; }

Exemple

Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MinScale = Vector.New(1,1,1)

MaxScale​

SVector MaxScale {get; set; }

Exemple

Lua
Space.Host.ExecutingObject.AudioReactiveParticleSystem.MaxScale = Vector.New(1.2,1.2,1.2)

GameObjectLecture seule​

SGameObject GameObject {get; }

Returns a reference to the GameObject of this component.

Exemple

Lua
theGameObject = Space.Host.ExecutingObject.AudioReactiveParticleSystem.GameObject