ldk_asset_keyframe_animation_null
Return an invalid keyframe-animation asset handle.
LDK_API LDKAssetKeyframeAnimation ldk_asset_keyframe_animation_null(void);
Returns
Null handle.
Return an invalid keyframe-animation asset handle.
LDK_API LDKAssetKeyframeAnimation ldk_asset_keyframe_animation_null(void);
Null handle.
Create a transient, manager-owned keyframe asset from a code-authored clip.
LDK_API LDKAssetKeyframeAnimation ldk_asset_manager_keyframe_animation_create(
LDKAssetManager *manager,
const LDKKeyframeAnimation *clip
);
LDKAssetManager *managerconst LDKKeyframeAnimation *clipLive asset handle on success, null handle on failure. Clip is deep-copied. Note: The created asset has no path and is not automatically scene-persistent.
Get immutable animation data for a live keyframe asset handle.
LDK_API const LDKAssetKeyframeAnimationData * ldk_asset_manager_keyframe_animation_get_const(
LDKAssetManager *manager,
LDKAssetKeyframeAnimation asset
);
LDKAssetManager *managerLDKAssetKeyframeAnimation assetBorrowed pointer or NULL. Invalidated when the asset is unloaded or reloaded.
Check whether a handle refers to a live keyframe-animation asset.
LDK_API bool ldk_asset_manager_keyframe_animation_is_alive(
LDKAssetManager *manager,
LDKAssetKeyframeAnimation asset
);
LDKAssetManager *managerLDKAssetKeyframeAnimation assetTrue only for a currently alive asset of the expected type.
Load or reuse a version-2 .anim asset by path and source revision.
LDK_API LDKAssetKeyframeAnimation ldk_asset_manager_keyframe_animation_load_shared(
LDKAssetManager *manager,
const char *path
);
LDKAssetManager *managerconst char *pathLive shared handle, or null on failure. Owned by the manager.
Reload a cached shared animation asset from its source.
LDK_API bool ldk_asset_manager_keyframe_animation_reload(
LDKAssetManager *manager,
const char *path
);
LDKAssetManager *managerconst char *pathTrue on successful refresh or if not cached; false on I/O or parsing errors.
Destroy a keyframe-animation asset and invalidate its handle.
LDK_API void ldk_asset_manager_keyframe_animation_unload(
LDKAssetManager *manager,
LDKAssetKeyframeAnimation asset
);
LDKAssetManager *managerLDKAssetKeyframeAnimation assetNothing. Detach it from all animation sources first.