Ue Sequencer And Cinematics 标志

Ue Sequencer And Cinematics

社区
kevinpbuckley
ue-sequencer-and-cinematics

Create and drive Unreal Engine cinematics from C++ — ULevelSequence (the cinematic asset), ALevelSequenceActor (the level-placed container), ULevelSequencePlayer (CreateLevelSequencePlayer, Play, Stop, PlayLooping, SetPlaybackPosition, OnFinished), possessables vs spawnables, runtime binding overrides (SetBinding/SetBindingByTag), track and MovieScene concepts, Cine Camera (UCineCameraComponent, ACineCameraActor — filmback, focal length, aperture, focus), Camera Cuts track, and Movie Render Queue for high-quality offline output. Use when triggering or controlling a cutscene at runtime, overriding sequence bindings for dynamic actors, reacting to sequence-end events, animating a film-style camera, firing gameplay callbacks from an event track, or rendering frames with the Movie Render Pipeline.

Add to TypingMind

概览

发布者kevinpbuckley
代码仓库unreal-engine-skills
技能名称ue-sequencer-and-cinematics
星标数
89
复刻数
9
附带文件
4
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 kevinpbuckley 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ue Sequencer And Cinematics AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/kevinpbuckley/unreal-engine-skills/tree/master/skills/core/ue-sequencer-and-cinematics
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kevinpbuckley/unreal-engine-skills.git /tmp/unreal-engine-skills
mkdir -p .claude/skills
cp -r /tmp/unreal-engine-skills/skills/core/ue-sequencer-and-cinematics .claude/skills/ue-sequencer-and-cinematics
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ue Sequencer And Cinematics,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ue Sequencer And Cinematics。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ue Sequencer And Cinematics 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Sequencer & cinematics

Sequencer is Unreal's non-linear timeline editor. A Level Sequence (ULevelSequence) binds actors and animates their properties via tracks; you play it at runtime through a ULevelSequencePlayer for cutscenes or scripted moments, and feed gameplay events back through event tracks or the OnFinished delegate.

When to use this skill

  • Triggering a cutscene or scripted in-game beat from C++ and reacting when it ends.
  • Overriding which actors a sequence controls at runtime (dynamic/spawned characters).
  • Animating a film-style camera (focal length, aperture, depth of field) via Cine Camera.
  • Firing gameplay functions at exact timeline positions (event tracks / Director blueprint).
  • Using Movie Render Queue for offline high-quality output from a sequence asset.

The pieces

TypeRole
ULevelSequenceCinematic asset — wraps UMovieScene (tracks, sections, bindings)
ALevelSequenceActorLevel-placed actor that holds the player and settings
ULevelSequencePlayerRuntime player: play/stop/scrub/loop, delegates, binding overrides
ULevelSequenceDirectorPer-sequence Blueprint class that event tracks call into
ACineCameraActor / UCineCameraComponentFilm-style camera (filmback, focus, aperture)

Modules to add to your .Build.cs:

"LevelSequence", "MovieScene", "CinematicCamera"

For Movie Render Queue also add "MovieRenderPipelineCore" (and enable the plugin).

Playing a sequence from C++

The factory method ULevelSequencePlayer::CreateLevelSequencePlayer spawns a transient ALevelSequenceActor, initialises its player, and returns the player ready to use. The out-param SeqActor receives the spawned actor (useful for lifecycle control).

cpp
#include "LevelSequence.h"
#include "LevelSequenceActor.h"
#include "LevelSequencePlayer.h"
#include "MovieSceneSequencePlayer.h"

// Called from BeginPlay or a gameplay event — never from a constructor.
void AMyDirector::PlayCutscene()
{
    if (!CutsceneAsset) { return; }  // UPROPERTY TObjectPtr<ULevelSequence> CutsceneAsset

    FMovieSceneSequencePlaybackSettings Settings;
    // Settings.bAutoPlay = false;   // default; we call Play() explicitly
    // Settings.LoopCount.Value = 0; // play once; -1 = infinite

    ALevelSequenceActor* SeqActor = nullptr;
    ULevelSequencePlayer* Player = ULevelSequencePlayer::CreateLevelSequencePlayer(
        GetWorld(), CutsceneAsset, Settings, SeqActor);

    if (Player)
    {
        Player->OnFinished.AddDynamic(this, &AMyDirector::OnCutsceneDone);
        Player->Play();
    }
}

UFUNCTION()
void AMyDirector::OnCutsceneDone()
{
    // Re-enable player input, restore camera, advance game state.
}

If you placed an ALevelSequenceActor in the level, prefer:

cpp
// PlacedSeqActor is a UPROPERTY TObjectPtr<ALevelSequenceActor> set in the editor.
if (ULevelSequencePlayer* P = PlacedSeqActor->GetSequencePlayer())
{
    P->OnFinished.AddDynamic(this, &AMyDirector::OnCutsceneDone);
    P->Play();
}

Key player methods (all on UMovieSceneSequencePlayer, base of ULevelSequencePlayer):

MethodEffect
Play()Forward from current position
PlayLooping(int32 NumLoops = -1)Loop: -1 = infinite, 0 = play once more
Stop()Stop and move cursor to end (or start if reversed)
Pause()Pause at current position
SetPlaybackPosition(FMovieSceneSequencePlaybackParams)Jump or scrub to a time/frame
SetPlayRate(float)Negative for reverse
GetCurrentTime()Returns FQualifiedFrameTime

Source: Runtime/MovieScene/Public/MovieSceneSequencePlayer.h — Play:193, PlayLooping:208, Stop:220, Pause:212, SetPlaybackPosition:344, OnFinished:426.

Bindings — possessables vs spawnables

A possessable references a pre-existing level actor (linked by soft object path). A spawnable is an actor template embedded in the sequence that the player spawns/destroys for the duration of playback.

  • Possessable: stable cross-level binding; breaks if the target actor is renamed, moved to another level, or replaced at runtime without rebinding.
  • Spawnable: self-contained; the sequence owns the actor's lifetime, making the sequence portable and usable without placing anything in the level. Prefer spawnables for cinematic- only characters or props that don't need to interact with gameplay after the cutscene.

Runtime binding override

For dynamic actors (spawned at runtime, procedurally placed), override a binding on the ALevelSequenceActor rather than editing the asset:

cpp
// Binding must be tagged in the Sequencer UI (RMB on binding > Tags…).
// FMovieSceneObjectBindingID can come from FindNamedBinding() or a designer-exposed
// UPROPERTY(EditAnywhere) FMovieSceneObjectBindingID.
PlacedSeqActor->SetBindingByTag(
    FName("HeroCharacter"),        // tag set in the Sequencer UI
    {DynamicallySpawnedHero},      // TArray<AActor*>
    /*bAllowBindingsFromAsset=*/false);

SetBinding / SetBindingByTag / AddBinding / ResetBindings are all on ALevelSequenceActor (LevelSequenceActor.h:178–238). They write into the actor's UMovieSceneBindingOverrides object without modifying the sequence asset.

Full binding and track internals: references/tracks-and-bindings.md.

Cameras & camera cuts

Add a Camera Cuts track to the sequence to drive which camera the viewer sees. During playback the player overrides the viewport to the active cut camera; on finish the view returns to the player camera (controllable via FLevelSequenceCameraSettings).

Use ACineCameraActor / UCineCameraComponent for cinematic look. Key properties (all UPROPERTY(Interp, …), so they can be keyframed in Sequencer):

PropertyTypeEffect
CurrentFocalLengthfloatZoom; derives FoV from filmback
CurrentAperturefloatf-stop — controls depth of field
FilmbackFCameraFilmbackSettingsSensor size (width × height mm)
FocusSettingsFCameraFocusSettingsManual / tracking / disable DoF

UCineCameraComponent inherits from UCameraComponent; ACineCameraActor wraps it and adds LookatTrackingSettings. Source: Runtime/CinematicCamera/Public/CineCameraComponent.h and CineCameraActor.h.

Camera and camera-cuts deep dive: references/cameras-and-cuts.md.

Event tracks (timeline → gameplay)

Event tracks fire at keyframe positions and invoke functions on the sequence's ULevelSequenceDirector subclass (a Blueprint). The director receives bound-object references through GetBoundObjects(FMovieSceneObjectBindingID) / GetBoundActor(…).

Use event tracks to spawn effects, toggle gameplay flags, or advance state at exact cinematic beats — the timeline analog of anim notifies (see ue-animation-system). For gameplay → timeline (driving a sequence from code), just call SetPlaybackPosition or PlayTo.

The Director's player pointer is UPROPERTY(BlueprintReadOnly) TObjectPtr<ULevelSequencePlayer> Player (LevelSequenceDirector.h:131).

Movie Render Queue

For offline renders (trailers, pre-rendered cutscenes), use the Movie Render Pipeline plugin rather than the editor's legacy "Render Movie" button. It supports multi-sample anti- aliasing accumulation, warmup frames, EXR / PNG / ProRes output, and render passes.

The queue is managed via editor subsystem (MoviePipelineQueueSubsystem) or Python/Blueprint scripting; runtime rendering in a packaged build uses UMoviePipeline directly.

Plugin headers live in: Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/

Full MRQ setup and scripting: references/movie-render-queue.md.

Gameplay vs cinematic control

  • Disable player input with APlayerController::SetInputMode / DisableInput during non- interactive cutscenes; restore in OnFinished.
  • For interactive moments (player can still move), skip disabling input and use the sequence only for cameras or specific actors.
  • Networked cinematics: trigger the sequence on every client via an RPC/replicated event. ALevelSequenceActor has bReplicatePlayback (LevelSequenceActor.h:117) but Sequencer playback itself is not automatically synchronised — coordinate timing explicitly. See ue-networking-and-replication.

Gotchas

  • Possessable binding breaks on rename/move — if the bound actor is renamed or moved to a sublevel, the soft-object-path reference breaks. Use tags + SetBindingByTag at runtime.
  • Forgetting to restore input/camera — always hook OnFinished and undo any cinematic-mode state (input, camera, HUD visibility) there.
  • Null player after CreateLevelSequencePlayer — this returns null if GetWorld() is null (CDO, editor context) or LevelSequence is null. Guard both.
  • Replicated playback is not frame-accurate — bReplicatePlayback gives clients a status update, not a sample-accurate sync. For frame-locked sync, implement your own timing.
  • Event track functions must exist on the Director blueprint — functions called by event tracks must be BlueprintCallable and present in the Director class; mismatches are silent.
  • Forgetting module deps — missing "LevelSequence" in .Build.cs causes include errors for ULevelSequencePlayer and ALevelSequenceActor.
  • Completion mode — by default Sequencer restores animated properties on stop. Set EMovieSceneCompletionModeOverride::ForceKeepState via Player->SetCompletionModeOverride if you want animated transforms to persist after the sequence ends.

Version notes

  • ALevelSequenceActor::SequencePlayer is deprecated in 5.4; always use GetSequencePlayer() (LevelSequenceActor.h:153).
  • The FGuid FindBindingFromObject(UObject*, UObject*) overload is deprecated in 5.5; use the SharedPlaybackState variant.
  • For Control Rig-authored animation played inside Sequencer, see ue-control-rig-and-ik.
  • For skeletal animation tracks and Anim Notifies, see ue-animation-system.

References & source material

Engine source (UE 5.8, under Engine/Source/Runtime/):

  • LevelSequence/Public/LevelSequence.h — ULevelSequence, MovieScene, DirectorClass.
  • LevelSequence/Public/LevelSequenceActor.h — ALevelSequenceActor, GetSequencePlayer:153, SetBinding:178, SetBindingByTag:190, FindNamedBinding:244, bReplicatePlayback:117.
  • LevelSequence/Public/LevelSequencePlayer.h — ULevelSequencePlayer, CreateLevelSequencePlayer:106, OnCameraCut:110, GetActiveCameraComponent:114.
  • LevelSequence/Public/LevelSequenceDirector.h — ULevelSequenceDirector, Player:131, GetBoundObjects:65, GetBoundActor:95.
  • MovieScene/Public/MovieSceneSequencePlayer.h — Play:193, PlayLooping:208, Stop:220, Pause:212, SetPlaybackPosition:344, OnFinished:426, OnStop:418, OnPlay:410.
  • MovieScene/Public/MovieSceneSequencePlaybackSettings.h — FMovieSceneSequencePlaybackSettings.
  • MovieScene/Public/MovieScene.h — UMovieScene (tracks/sections/bindings model).
  • CinematicCamera/Public/CineCameraComponent.h — UCineCameraComponent, CurrentFocalLength:66, CurrentAperture:70, Filmback:38, FocusSettings:52.
  • CinematicCamera/Public/CineCameraActor.h — ACineCameraActor, GetCineCameraComponent:90.

Plugin source (UE 5.8):

  • Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/MoviePipelineQueue.h

Official docs (UE 5.8, verified):

Deep-dive references in this skill:

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Ue Sequencer And Cinematics AI 技能有什么作用?

Create and drive Unreal Engine cinematics from C++ — ULevelSequence (the cinematic asset), ALevelSequenceActor (the level-placed container), ULevelSequencePlayer (CreateLevelSequencePlayer, Play, Stop, PlayLooping, SetPlaybackPosition, OnFinished), possessables vs spawnables, runtime binding overrides (SetBinding/SetBindingByTag), track and MovieScene concepts, Cine Camera (UCineCameraComponent, ACineCameraActor — filmback, focal length, aperture, focus), Camera Cuts track, and Movie Render Queue for high-quality offline output. Use when triggering or controlling a cutscene at runtime, over...

为什么在 TypingMind 中使用 Ue Sequencer And Cinematics?

因为您只需安装一次,就能搭配任何模型使用。Ue Sequencer And Cinematics 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ue Sequencer And Cinematics?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/kevinpbuckley/unreal-engine-skills/tree/master/skills/core/ue-sequencer-and-cinematics。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ue Sequencer And Cinematics?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ue Sequencer And Cinematics 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ue Sequencer And Cinematics 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ue Sequencer And Cinematics AI 技能免费吗?

kevinpbuckley 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇