City of Brass 및 The Vagrant의 신규 콘텐츠를 지금 무료로 제공합니다!

Get Set Editor Camera

Scenegraph Studios - 1월 25, 2021

Get and Set Editor Camera Properties such as the location, rotation, or facing direction. Spawn actors at the location or infront of the editor camera to make world building faster.

  • 지원 플랫폼
  • 지원 엔진 버전
    4.26
  • 다운로드 유형
    엔진 플러그인
    이 제품은 코드 플러그인과 함께 미리 빌드한 바이너리와 언리얼 엔진에 통합되는 모든 소스 코드를 포함하고 있으며 원하시는 엔진 버전에 설치하여 프로젝트에 따라 활성화할 수 있습니다.

We created this plugin from a requirement we had from another project where we place actors in front of the camera so the shots line up nicely. 


The editor camera properties are not exposed to blueprints, thus this function library exposes them to blueprints

We hope this plugin will be used as a tool for you to create scenes faster, or as a learning tool of exposing the properties if the editor camera to blueprints.


We expose these functions to a Utility Widget blueprint which you can run in the editor.

기술적 세부사항

Features: (Please include a full, comprehensive list of the features of the product)

  •  GetEditorCameraLocation
  •  GetEditorCameraFacingDirection
  •  GetEditorCameraRotation
  • SetViewLocation
  • SetViewRotation
  • SpawnExampleActor - used as an example to show how to spawn C++ classes at the location of the editor camera (or in front by multiplying the facing direction by a value).
  • Utility Widget showing the parameters of the editor camera with button click events to spawn an actor, set/get the location/rotation of the editor camera.

Code Modules: (Please include a full list of each Plugin module and their module type (Runtime, Editor etc.))

  •  UnrealEd
  • CoreUObject
  • Engine
  • Slate
  • Slatecore

Number of Blueprints: 2

ExampleUtilityWidget.uasset

BasicActor.uasset - used as an example to spawn at the location of

Number of C++ Classes: 3

GetCameraEditor.h /.cpp

GetCameraEditorBPLibrary.h / .cpp

MyActor.h / .cpp


Network Replicated: No

Supported Development Platforms: Developed on Windows10 64bit - use within the editor.

Supported Target Build Platforms: Compiled and tested on Window 10 64bit - use within editor.

Documentation: Link - Tutorial coming soon.

https://www.scenegraphstudios.com/unreal-plugin-get-set-editor-camera-properties/


Important/Additional Notes: We would love to get your feedback, or suggestions on how to improve either the plugin, or the supporting tutorial content. Epic has given us so much already, and we believe in giving back. Hopefully this plugin can help you out, or help you understand a bit more about the underlying tools.