LavaUI docs GitHub

struct SceneAnimationFlags

Swift

struct SceneAnimationFlags

Which properties a animateNode call is stating. Mirrors canvas::SceneAnimationFlags.

Sources/LavaUI/DrawList.swift:139

Constructors

init(rawValue: UInt32)

Creates a flag set from its bits.

Sources/LavaUI/DrawList.swift:143

Properties

static let duration: SceneAnimationFlags

Read the time value as a duration rather than a decay constant — see kSceneAnimDuration in draw_command.hpp.

Sources/LavaUI/DrawList.swift:151

static let opacity: SceneAnimationFlags

The call states a target opacity.

Sources/LavaUI/DrawList.swift:146

let rawValue: UInt32

The flag bits.

Sources/LavaUI/DrawList.swift:141

static let translate: SceneAnimationFlags

The call states a target translation.

Sources/LavaUI/DrawList.swift:148