Bugrimov Maksim: All products 50% off

Get Set Editor Camera

Scenegraph Studios - Code Plugins - Jan 25, 2021
7
4.86 out of 5 stars(7 ratings)
  • 86%
  • 14%
  • 0%
  • 0%
  • 0%

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.

  • Supported Platforms
  • Supported Engine Versions
    4.26, 5.0 - 5.2
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

!!!!! UPDATE !!!!!

We have compiled for 5, 5.1, and 5.2 and uploaded to be reviewed by Epic.

We skipped 4.27 due to issues - this worked out well because Unreal does not support submitting of plugins below Unreal Engine 5. If you want a copy please email us and we can share a cloud drive.

Thanks for your patience with the update schedule.

///////////////////////


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.

Technical Details

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.