wiki.sine.space | sinespace

Difference between revisions of "Scripting/SAudioReactiveAnimation"

From wiki.sine.space
Jump to: navigation, search
(Created page with "=Properties= {{ScriptFunction|bool|Enabled|{get; set;}|Returns true if the Audio Reactive Animation Enabled.|5= local Object = Space.Scene.Find("Audio Source")<br> Space.Log(...")
(No difference)

Revision as of 02:32, 12 January 2021

Properties

Enabled

bool Enabled {get; set;}

Returns true if the Audio Reactive Animation Enabled.

local Object = Space.Scene.Find("Audio Source")
Space.Log(Object.SAudioReactiveAnimation.Enabled)


Parameter

string Parameter {get; set;}

Returns Parameter value of the Audio Reactive Animation.

local Object = Space.Scene.Find("Audio Source")
Space.Log(Object.SAudioReactiveAnimation.Parameter )


Target

SAnimator Target {get; set;}

Returns Target ApplyRootMotion value of the Audio Reactive Animation.

local Object = Space.Scene.Find("Audio Source")
Space.Log(Object.AudioReactiveAnimation.Target.ApplyRootMotion)