Command Palette

Search for a command to run...

Назад к скиллам
скилл № 55386

unreal

Use when the user asks about Unreal Engine 5, UE5 C++, Blueprints, UObject and Actor lifecycle, Gameplay Ability System, Nanite, Lumen, Chaos physics or…

БесплатноБез исполняемых скриптов
j4flmaoот j4flmao★ 47 звёзд на GitHub

Установить unreal в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Unreal Engine Deep Engineering Guide

Purpose

Unreal Engine is a C++ game engine with a powerful actor-component framework (UObject/AActor), Blueprint visual scripting, the Chaos physics system, and the modern rendering stack built on RenderGraph, Nanite virtualized geometry, and Lumen GI.

Agent Protocol

Trigger

"unreal", "unreal engine 5", "UE5", "blueprint", "UObject", "gameplay ability system", "nanite", "lumen", "unreal replication".

Input Context

  • UE version (5.x)
  • C++ / Blueprint split
  • Target platforms and performance targets

Output Artifact

C++/Blueprint guidance, config or a profiling plan. No file unless requested.

Response Format

UE: {5.x}
Change: {what and why}
Code: {snippet}
Verify: {Unreal Insights / stat commands}

1. Engine Architecture

Unreal Engine 5
  Modules (UObject-based reflection)
    Core, Engine, Renderer, RHI (D3D12/Vulkan/Metal), Niagara, Chaos
  Engine loop -> UEngine::Tick -> UWorld::Tick -> Actor::Tick
  GWorld: The current UWorld (loaded levels)
  • UObject base: GC (garbage collector), reflection (UFUNCTION/UPROPERTY), serialization.
  • AActor: spawnable entity; placement via UWorld::SpawnActor<T>().
  • UActorComponent: reusable behavior attached to actors.

1.1 The Game Framework

Class Role
UGameInstance Per-process, survives level loads, global save data
UWorld The active level + subsystems (GameMode, GameState)
AGameModeBase Rules: spawn points, teams, win condition (server-only)
AGameStateBase Replicated match state
APlayerController Input + view; replicated to owner
APawn/ACharacter The controllable entity

Rule: GameMode is server-only; never game logic from clients. Use GameState for replicated data.

2. UObject Reflection & C++ / Blueprint

2.1 Macros

UCLASS()
class MYGAME_API APlayerCharacter : public ACharacter {
    GENERATED_BODY()
public:
    UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Stats")
    int32 MaxHealth = 100;

    UFUNCTION(BlueprintCallable, Category="Stats")
    void Heal(int32 Amount);
};
  • UPROPERTY: serialized, reflected, GC-tracked.
  • UFUNCTION: callable from Blueprint/other C++, serialization of delegates.
  • Naming: U prefix for UObject, A for Actor, F for structs, T for templates.

2.2 C++ vs Blueprint Decision

Concern Choose
Data, core logic, perf-critical hot loops C++
Designer-facing flow, tuning, event wiring Blueprint
Heavy algorithms (async, math-costly) C++ + Async tasks
Prototypes and small features early Blueprint then port to C++

Rule: Blueprint is for content, C++ is for code. Keep hot paths in native.

2.3 Compilation & Deployment

  • Build.cs/Target.cs (UBT). Module dependencies declared there.
  • Hot Reload (Live Coding) in editor; full build via Build.bat.
  • UE 5 compile times: keep modules small; use IWYU.
  • PCHUsage, CppWarnings, UnityBuild.

3. Rendering Pipeline (Modern UE5)

3.1 RenderGraph

UE5 renderer records a DAG of passes; the RenderGraph merges/splits passes, computes transient resources, and drives barriers automatically:

SceneColorInit -> BasePass (GBuffer) -> LightCulling -> DeferredShading
               -> Reflection capture -> Sky -> Translucency -> PostProcess -> Present

Resources are transient and lifetime-tracked by the Render Dependency Graph (RDG). Custom passes are added with FRDGBuilder::AddPass from a plugin, usually hooked in through a FSceneViewExtensionBase subclass (no engine fork needed).

3.2 Nanite

  • Virtualized geometry: meshes split into clusters with a cluster LOD hierarchy, streamed and culled on the GPU.
  • Best for high-poly opaque static meshes; masked materials and World Position Offset (foliage) are supported since 5.1 at extra cost; skinned-mesh support is experimental in recent 5.x releases — check your version.
  • Keep translucent and heavily deforming content on classic LODs.

3.3 Lumen

  • Dynamic GI and reflections. Software ray tracing traces mesh distance fields against a surface cache; hardware ray tracing is used when enabled and supported.
  • GPU-heavy; disable on low-end; control with Lumen. console vars.
  • For stylized/flat art, skip Lumen; use precomputed lightmaps.

3.4 Niagara Particles

  • GPU/CPU emitters; prefer NiagaraDataInterfaceArrays for bulk data.
  • Minimize material complexity in particle shaders.

4. Physics — Chaos

  • Chaos replaced PhysX in UE5.
  • By default Chaos steps with the game frame; enable substepping or Async Physics (Project Settings > Physics > Tick Async Physics) for a fixed physics step.
  • UPrimitiveComponent::SetSimulatePhysics(true) to simulate a body.
  • Contact: OnComponentHit / OnComponentBeginOverlap delegates.
  • Destruction: Geometry Collection assets (UGeometryCollectionComponent, fractured in the Fracture editor mode).

4.1 Tunneling & CCD

Fast small pr

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл unreal?

Use when the user asks about Unreal Engine 5, UE5 C++, Blueprints, UObject and Actor lifecycle, Gameplay Ability System, Nanite, Lumen, Chaos physics or Unreal replication. Produces Unreal project architecture and C++/Blueprint guidance. Not for Unity (use unity) or custom engine rendering (use render-graph).

Как установить скилл unreal?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл unreal запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить unreal с