Animator¶
The animator allows to get or set any field value in the Item hierarchy of the scene.
Reference¶
Examples¶
local Animator = require 'engine/animator'
Animator.set("PostFX.FilmGrainNoiseIntensity", 0.2)
Animator.set("PostFX.BloomStrength", 0.7)
local Animator = require 'engine/animator'
local noiseIntensity = Animator.get("PostFX.FilmGrainNoiseIntensity")
local bloomStrength = Animator.get("PostFX.BloomStrength")