USteamVRTrackingReferences

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

SteamVRInputDevice

Header

/Engine/Plugins/Runtime/Steam/SteamVR/Source/SteamVRInputDevice/Public/SteamVRTrackingRefComponent.h

Include

#include "SteamVRTrackingRefComponent.h"

Syntax

UCLASS(ClassGroup=(Custom), Meta=(BlueprintSpawnableComponent))
class USteamVRTrackingReferences : public UActorComponent

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

float

 

ActiveDevicePollFrequency

Scale to apply to the tracking reference mesh

Public variable UProperty Category BlueprintAssignable

FComponentTrack...

 

OnTrackedDeviceActivated

Blueprint event - When a new active device is recognized

Public variable UProperty Category BlueprintAssignable

FComponentTrack...

 

OnTrackedDeviceDeactivated

When an active device gets deactivated

Public variable UProperty Category BlueprintReadOnly

TArray< TObject...

 

TrackingReferences

Currently displayed Tracking References in-world

Public variable UProperty Category, EditAnywhere BlueprintReadWrite

FVector

 

TrackingReferenceScale

Scale to apply to the tracking reference mesh

Constructors

Name Description

Public function

USteamVRTrackingReferences()

Functions

Name Description

Protected function

bool

 

FindTrackedDevice

(
    unsigned int id
)

Protected function

FName

 

GetDeviceClass

(
    unsigned int id
)

Public function UFunction BlueprintCallable, Category

void

 

HideTrackingReferences()

Remove Tracking References in-world

Public function UFunction BlueprintCallable, Category

bool

 

ShowTrackingReferences

(
    UStaticMesh* TrackingReference...
)

Display Tracking References in-world

Overridden from UActorComponent

Name Description

Protected function Virtual

void

 

BeginPlay()

Begins Play for the component.

Protected function Virtual

void

 

TickComponent

(
    float DeltaTime,
    ELevelTick TickType,
    FActorComponentTickFunction* T...
)

Function called every frame on this ActorComponent.