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
Branches
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 ...@@ -38,32 +38,33 @@ class RWTHVRCLUSTER_API URWTHVRClusterUtilities : public UBlueprintFunctionLibra
GENERATED_BODY() GENERATED_BODY()
public: public:
UFUNCTION(BlueprintPure, Category = "RWTHVRCluster|Platform")
static bool IsRoomMountedMode(); static bool IsRoomMountedMode();
UFUNCTION(BlueprintPure, Category = "DisplayCluster|Platform") UFUNCTION(BlueprintPure, Category = "RWTHVRCluster|Platform")
static bool IsCave(); static bool IsCave();
UFUNCTION(BlueprintPure, Category = "DisplayCluster|Platform") UFUNCTION(BlueprintPure, Category = "RWTHVRCluster|Platform")
static bool IsRolv(); static bool IsRolv();
UFUNCTION(BlueprintPure, Category = "DisplayCluster") UFUNCTION(BlueprintPure, Category = "RWTHVRCluster")
static bool IsPrimaryNode(); static bool IsPrimaryNode();
UFUNCTION(BlueprintPure, Category = "DisplayCluster") UFUNCTION(BlueprintPure, Category = "RWTHVRCluster")
static bool IsSecondaryNode(); static bool IsSecondaryNode();
UFUNCTION(BlueprintPure, Category = "DisplayCluster") UFUNCTION(BlueprintPure, Category = "RWTHVRCluster")
static FString GetNodeName(); static FString GetNodeName();
/* Distance in meters */ /* Distance in meters */
UFUNCTION(BlueprintPure, Category = "DisplayCluster") UFUNCTION(BlueprintPure, Category = "RWTHVRCluster")
static float GetEyeDistance(); static float GetEyeDistance();
UFUNCTION(BlueprintPure, Category = "DisplayCluster") UFUNCTION(BlueprintPure, Category = "RWTHVRCluster")
static EDisplayClusterEyeStereoOffset GetNodeEyeType(); static EDisplayClusterEyeStereoOffset GetNodeEyeType();
//Get Component of Display Cluster by it's name, which is specified in the nDisplay config // 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.") 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); static USceneComponent* GetClusterComponent(const FString& Name);
UE_DEPRECATED(5.4, "GetNamedClusterComponent has been removed because it is obsolete.") 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); 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