OH_ArkUI_AnimatorOption_GetKeyframeTime

Function OH_ArkUI_AnimatorOption_GetKeyframeTime 

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

Obtains the keyframe time of an animation.

§Arguments

  • option - Indicates an animator parameter object.

  • index - Indicates the keyframe index.

§Returns

  • Returns the keyframe time.

Available since API-level: 12