Navigation
API > API/Runtime > API/Runtime/AugmentedReality
| Name | UARPin |
| Type | class |
| Header File | /Engine/Source/Runtime/AugmentedReality/Public/ARPin.h |
| Include Path | #include "ARPin.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, Experimental, Category="AR AugmentedReality")
class UARPin : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UARPin
Derived Classes
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DebugPinId | uint32 | ARPin.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ARSystem | TWeakPtr< FARSupportInterface, ESPMode::ThreadSafe > | ARPin.h | ||
| DebugName | FName | ARPin.h | ||
| LocalToAlignedTrackingTransform | FTransform | ARPin.h | ||
| LocalToTrackingTransform | FTransform | ARPin.h | ||
| NativeResource | void * | The native resource pointer on the AR platform. | ARPin.h | |
| OnARTrackingStateChanged | FOnARTrackingStateChanged | ARPin.h |
|
|
| OnARTransformUpdated | FOnARTransformUpdated | ARPin.h |
|
|
| PinnedComponent | TObjectPtr< USceneComponent > | ARPin.h | ||
| TrackedGeometry | TObjectPtr< UARTrackedGeometry > | ARPin.h | ||
| TrackingState | EARTrackingState | ARPin.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DebugDraw
(
UWorld* World, |
ARPin.h | ||
FName GetDebugName() |
ARPin.h |
|
|
FTransform GetLocalToTrackingTransform () |
Maps from a Pin's Local Space to the Tracking Space. | ARPin.h |
|
FTransform GetLocalToTrackingTransform_NoAlignment() |
ARPin.h | ||
FTransform GetLocalToWorldTransform() |
Convenience function. Same as LocalToTrackingTransform, but appends the TrackingToWorld Transform. | ARPin.h |
|
void * GetNativeResource() |
ARPin.h | ||
USceneComponent * GetPinnedComponent() |
ARPin.h |
|
|
UARTrackedGeometry * GetTrackedGeometry() |
The TrackedGeometry (if any) that this this pin is being "stuck" into. | ARPin.h |
|
EARTrackingState GetTrackingState() |
Return the current tracking state of this Pin. | ARPin.h |
|
virtual void InitARPin
(
const TSharedRef< FARSupportInterface, ESPMode::ThreadSafe >& InTrackingSystemOwner, |
ARPin.h | ||
void OnTrackingStateChanged
(
EARTrackingState NewTrackingState |
Notify the ARPin about changes to how it is being tracked. | ARPin.h | |
void OnTransformUpdated
(
const FTransform& NewLocalToTrackingTransform |
Notify this UARPin that the transform of the Pin has changed | ARPin.h | |
void SetNativeResource
(
void* InNativeResource |
ARPin.h | ||
void SetOnARTrackingStateChanged
(
const FOnARTrackingStateChanged& InHandler |
ARPin.h | ||
void SetOnARTransformUpdated
(
const FOnARTransformUpdated& InHandler |
ARPin.h | ||
void SetPinnedComponent
(
USceneComponent* InComponentToPin |
ARPin.h | ||
void UpdateAlignmentTransform
(
const FTransform& NewAlignmentTransform |
Notify the UARPin that the AlignmentTransform has changing. | ARPin.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< FARSupportInterface, ESPMode::ThreadSafe > GetARSystem() |
ARPin.h |