/!\ Deprecated repository /!\
New plugin and demo are accessible here : https://www.unrealengine.com/marketplace/en-US/product/live-link-augmenta
This Unreal 5.1 project contains the Augmenta Unreal plugin and a sample map with a Blueprint to test the plugin.
Content/Maps/AugmentaDemo.umap
: This map contains theBP_AugmentaTest
actor for testing.Content/Blueprints/BP_AugmentaTest.uasset
: A test blueprint actor that has theReceive Ip Address
andPort
variables exposed for modification. The default values are127.0.0.1
and12000
respectively. This actor also has the following functionality.- On Actor BeginPlay : Creates an AugmentaReceiver that in turn connects to the OSCServer with the given Ip address and Port and also binds to the Augmenta Plugin events i.e.,
OnSceneUpdated
,OnObjectEntered
,OnObjectUpdated
,OnObjectLeft
,OnVideoOutputUpdated
,OnEnteredExtraData
,OnUpdatedExtraData
andOnLeaveExtraData
. - It contains a cube called PlayArea which is scaled according to the AugmentaScene data when
OnSceneUpdated
event fires. - It creates a
Sphere
whenOnObjectEntered
event fires and updates its position relative to the PlayArea using the AugmentaPerson data. It uses a map to track the AugmentaPerson with theId
as the key and the sphere static mesh component as the value. - When
OnObjectUpdated
event is fired, a sphere is created if the AugmentaPerson has not been tracked before. Otherwise, will update the relative position of the already existing sphere according to the Id. - It removes the sphere when
OnObjectLeft
event fires. - When
OnVideoOutputUpdated
event is fired, currently it just logs the data (offset, size and resolution) to the screen. - When
OnEnteredExtraData
orOnUpdatedExtraData
orOnLeaveExtraData
event is fired, currently it just logs the Id of the object to the screen. - On Actor EndPlay : Stops the AugmentaReceiver that in turn stops the connection to the OSCServer.
- On Actor BeginPlay : Creates an AugmentaReceiver that in turn connects to the OSCServer with the given Ip address and Port and also binds to the Augmenta Plugin events i.e.,
There are 2 ways to test this Demo.
- Using the Physical Augmenta Nodes that send data to an AugmentaFusion software on a PC and using the IP address of that PC as the
Receive Ip Address
. - Using the AugmentaSimulator. The default output Ip address and Port in the Augmenta simulator are set to
127.0.0.1
and12000
respectively. So the demo should work without any modifications.