TweenTarget
此内容尚不支持你的语言。
TweenTarget = typeof
TweenTarget[keyof typeofTweenTarget]
Defined in: animation/Tween.ts:55
The 13 properties the C++ TweenSystem can drive directly.
NOTE ON THE RELATIONSHIP TO AnimTargetField: Timeline uses the
wider, code-generated AnimTargetField enum (33 entries) because
it composes smaller setters on top of AnimApplicator. TweenTarget
is intentionally narrower — just the common property tweens that
have a fast C++ fast-path. Unifying the two would require
anim_createTween on the WASM boundary to accept AnimTargetField
values directly and an extended TWEEN_TO_ANIM_FIELD map in
TweenSystem.cpp. That’s a larger cross-layer change tracked
separately; for now TweenTarget is the stable subset.
If you need to tween a field not in this list (e.g. UINode.insetLeft.value),
use tween.value(...) with a callback that writes the field yourself,
or drive it via Timeline.