Skip to content
Snippets Groups Projects
Commit 70b58e70 authored by David Gilbert's avatar David Gilbert :bug:
Browse files

fix(utilities): Expose BP function for room mounted mode correctly and fix Cave BP accessing it.

parent c1360b09
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -38,32 +38,33 @@ class RWTHVRCLUSTER_API URWTHVRClusterUtilities : public UBlueprintFunctionLibra
GENERATED_BODY()
public:
UFUNCTION(BlueprintPure, Category = "RWTHVRCluster|Platform")
static bool IsRoomMountedMode();
UFUNCTION(BlueprintPure, Category = "DisplayCluster|Platform")
UFUNCTION(BlueprintPure, Category = "RWTHVRCluster|Platform")
static bool IsCave();
UFUNCTION(BlueprintPure, Category = "DisplayCluster|Platform")
UFUNCTION(BlueprintPure, Category = "RWTHVRCluster|Platform")
static bool IsRolv();
UFUNCTION(BlueprintPure, Category = "DisplayCluster")
UFUNCTION(BlueprintPure, Category = "RWTHVRCluster")
static bool IsPrimaryNode();
UFUNCTION(BlueprintPure, Category = "DisplayCluster")
UFUNCTION(BlueprintPure, Category = "RWTHVRCluster")
static bool IsSecondaryNode();
UFUNCTION(BlueprintPure, Category = "DisplayCluster")
UFUNCTION(BlueprintPure, Category = "RWTHVRCluster")
static FString GetNodeName();
/* Distance in meters */
UFUNCTION(BlueprintPure, Category = "DisplayCluster")
UFUNCTION(BlueprintPure, Category = "RWTHVRCluster")
static float GetEyeDistance();
UFUNCTION(BlueprintPure, Category = "DisplayCluster")
UFUNCTION(BlueprintPure, Category = "RWTHVRCluster")
static EDisplayClusterEyeStereoOffset GetNodeEyeType();
// Get Component of Display Cluster by it's name, which is specified in the nDisplay config
UE_DEPRECATED(5.4, "GetClusterComponent has been removed because it is obsolete.")
UFUNCTION(BlueprintPure, BlueprintCallable, Category = "DisplayCluster", meta = (DeprecatedFunction))
UFUNCTION(BlueprintPure, BlueprintCallable, Category = "RWTHVRCluster", meta = (DeprecatedFunction))
static USceneComponent* GetClusterComponent(const FString& Name);
UE_DEPRECATED(5.4, "GetNamedClusterComponent has been removed because it is obsolete.")
UFUNCTION(BlueprintPure, BlueprintCallable, Category = "DisplayCluster", meta = (DeprecatedFunction))
UFUNCTION(BlueprintPure, BlueprintCallable, Category = "RWTHVRCluster", meta = (DeprecatedFunction))
static USceneComponent* GetNamedClusterComponent(const ENamedClusterComponent& Component);
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment