arkui_sys::native_animate

Function OH_ArkUI_AnimatorOption_GetKeyframeValue

Source
pub unsafe extern "C" fn OH_ArkUI_AnimatorOption_GetKeyframeValue(
    option: *mut ArkUI_AnimatorOption,
    index: i32,
) -> f32
Available on crate feature api-12 only.
Expand description

Obtains the keyframe value of an animation.

§Arguments

option - Indicates an animator parameter object.

index - Indicates the keyframe index.

§Returns

Returns the keyframe value.

Available since API-level: 12