# Unreal Engineに現実のカメラの映像を入力

**URL:** <https://forums.unrealengine.com/t/unreal-engine/361877>\
**Category:** Rendering\
**Tags:** unreal-engine, UE4, question\
**Created:** [June 24, 2016, 12:16pm UTC](https://forums.unrealengine.com/t/unreal-engine/361877 "2016-06-24T12:16:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_856a9bdb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_856a9bdb](https://forums.unrealengine.com/u/anonymous_user_856a9bdb)\
**Post date:** [June 24, 2016, 12:16pm UTC](https://forums.unrealengine.com/t/unreal-engine/361877/1 "2016-06-24T12:16:12Z")

</div>

実際のカメラで撮影した映像をリアルタイムでUnrealへ入力する方法はありますでしょうか？  
マテリアルとして貼り付ける用途を考えています。

どなたかご教示頂ければ幸いです。

---

<div class="post-metadata">

**Author:** ![tamfoi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tamfoi/32/984280_2.png) [@tamfoi](https://forums.unrealengine.com/u/tamfoi)\
**Post date:** [June 24, 2016, 8:15pm UTC](https://forums.unrealengine.com/t/unreal-engine/361877/2 "2016-06-24T20:15:05Z")

</div>

既存のエンジンの機能だとなさそうです。C++で書くかユーザー製のPluginでならばWebCameraを使う方法はあるようです

* * *

こちらは実装方法まで解説されています。バージョンが4.9の時のものなので4.12の場合は変わっている場所もあるかもしれません

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

* * *

もう一つ4.10のものもありました。こちらはプロジェクト毎配布のようです。こちらも4.12で使う場合は変わっている部分があるかもしれません。

> **[Web camera plugin](https://forums.unrealengine.com/showthread.php?98931-Web-camera-plugin)**
>
> Hello! I had to access the web camera in-engine for one of my projects, so I though I would share it with the community! I implemented it using directshow, so only windows support for now. Hopefully it’s useful to someone 🙂 And if you would...

* * *

私がWebCameraを所持しておらず試せていないので上手く行かない可能性もありますが参考になれば幸いです。
