프로세스

CameraActor > SceneCaptureComponent2D > RT_CameraA > M_CameraA > WGT_CameraA > Viewport

필요 노드 및 에셋들

  • World/CameraA (CameraActor)

    • SceneComponent
      • CameraComponent
        • SceneCaptureComponent2D
          • TextureTarget = RT_CameraA
  • Asset/RT_CameraA (RenderTarget)

  • Asset/M_CameraA (Material)

    • Material Domain = User Interface
    • Final Color = TextureSample
      • Texture = RT_CameraA
  • Asset/WGT_CameraA (Widget Blueprint)

    • Canvas Panel
      • Image
        • Appearance/Brush/Image = M_CameraA

레벨 블루프린트 에디터

  1. EventBeginPlay()
  2. widget = CreateWidget()
    • Class = WGT_CameraA
    • OwningPlayer = GetPlayerController()
  3. widget.AddToViewport()

참고자료