Skip to content
Snippets Groups Projects

[deprecated] Cluster Events with UClusterSyncedMethodCaller

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Jan Delember

    Here is a little example on how to use cluster events in C++, e.g., reacting to UMG user input, or keyboard input which is otherwise not synced yet in the CAVE:

    After you added the code below you can create, e.g., a blueprint of this C++ Actor and a a button mapping to call this function:

    image

    Don't forget to enable input on the instance of this blueproint once you put it in the scene:

    image-2

    Edited
    UserInputSync.h 635 B
    • Author

      This will not work anymore, since the ClusterSyncedMethodCaller class was removed, if you want to look at it, checkout nDisplayExtension commit 94a60516

      By Jonathan Ehret on 2021-01-07T10:34:57 (imported from GitLab)

    • Author

      Maybe we should add it back if it's still relevant?

      By Simon Oehrl on 2021-01-08T10:43:08 (imported from GitLab)

    • Author

      No I think it is fine to only have one way, I marked this as deprecated.

      But just in case here is the commit if anybody ever needs this: https://devhub.vr.rwth-aachen.de/VR-Group/unreal-development/ndisplayextensions/-/commit/55f6d18b0041ed08781cc096b7028b1a0580d8a8

      By Jonathan Ehret on 2021-01-08T13:16:43 (imported from GitLab)

    • Author

      Okay :)

      By Simon Oehrl on 2021-01-08T13:27:29 (imported from GitLab)

    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment