| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Lumin/MagicLeapPassableWorld/Source/MagicLeapARPin/Public/MagicLeapARPinComponent.h |
Include |
#include "MagicLeapARPinComponent.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=MagicLeap, BlueprintType, Blueprintable, EditInlineNew,
Meta=(BlueprintSpawnableComponent))
class UMagicLeapARPinComponent : public USceneComponent
Component to make content persist at locations in the real world.
Name | Description | ||
---|---|---|---|
|
AutoPinType |
Mode for automatically pinning this component or it's owner actor to real-world. |
|
|
bShouldPinActor |
Pin this component's owner actor instead of just the component itself. |
|
|
ObjectUID |
Unique ID for this component to save the meta data for the Pin and make content persistent. |
|
|
OnPersistentEntityPinLost |
Fired when an entity loses its pin. |
|
|
OnPersistentEntityPinned |
Fired when an entity is successfully pinned by this component. |
|
|
TSubclassOf< UM... |
PinDataClass |
The user defined save game class associated with this pin. |
|
UserIndex |
Index to get the save game data for the pin |
Name | Description | |
---|---|---|
|
UMagicLeapARPinComponent() |
Name | Description | ||
---|---|---|---|
|
UMagicLeapAR... |
GetPinData |
Retrieves the data associated with this pin. |
|
GetPinnedPinID ( |
Get the ID of the Pin the entity (component or actor) is currently pinned to. |
|
|
GetPinState ( |
Returns the state of this Pin. |
|
|
IsPinned() |
True if an entity (component or actor) is currently pinned by this component. |
|
|
PinActor ( |
Pin given Actor to the closest AR Pin in real-world. |
|
|
PinRestoredOrSynced() |
True if the AR Pin for the unique ID ObjectUID was restored from the app's local storage or was repliated over network. |
|
|
PinSceneComponent ( |
Pin given SceneComponent to the closest AR Pin in real-world. |
|
|
UnPin() |
Detach or un-pin the currently pinned entity (component or actor) from the real-world. |
Name | Description | ||
---|---|---|---|
|
BeginPlay() |
Begins Play for the component. |
|
|
EndPlay ( |
Ends gameplay for this component. |
|
|
TickComponent ( |
Function called every frame on this ActorComponent. |
Name |
Description |
|
---|---|---|
|
FPersistentEntityPinLost |
Delegate used to notify the instigating blueprint that an entity (component or actor) has lost a previously obtained pin. |
|
FPersistentEntityPinned |
Delegate used to notify the instigating blueprint that an entity (component or actor) has been successfully pinned to the real-world. |