Skip to content
Snippets Groups Projects
Commit 6564ee3a authored by Philipp Schäfer's avatar Philipp Schäfer
Browse files

VAReceiverActor: updated property description, categories and order

parent 87b8ca25
No related branches found
No related tags found
1 merge request!9VAServerLauncher Improvement (now also sending reproduction type and ini)
...@@ -46,28 +46,51 @@ protected: ...@@ -46,28 +46,51 @@ protected:
UPROPERTY(EditAnywhere, meta = (DisplayName = "Ask for Debug mode?", Category = "General Settings")) UPROPERTY(EditAnywhere, meta = (DisplayName = "Ask for Debug mode?", Category = "General Settings"))
bool bAskForDebugMode = false; bool bAskForDebugMode = false;
// Check if should try to use Python Automatic Remote star // View point to head center offset (x forward-dir, y right-dir, z up-dir) in cm. Note that x and z most probably need to be negative!
UPROPERTY(EditAnywhere, meta = (DisplayName = "Use Automatic Remote VA Start via Python?", Category = "Connection")) UPROPERTY(EditAnywhere, meta = (Category = "General Settings"))
bool bAutomaticRemoteVAStart = true; FVector ViewpointToHeadcenterOffset = FVector(0, 0, 0);
// Source for tracking data, e.g., VirtualRealityPawn, ManualData (e.g., manually passed on from Optitrack)
UPROPERTY(EditAnywhere, meta = (Category = "General Settings"))
ETrackingSource TrackingSource = ETrackingSource::VirtualRealityPawn;
// Choose how to connect to the Server (automatic: build with windows connect with 127.0.0.1:12340, build with linux connect to cave) // Choose how to connect to the Server (automatic: build with windows connect with 127.0.0.1:12340, build with linux connect to cave)
UPROPERTY(EditAnywhere, meta = (DisplayName = "Usecase", Category = "Connection")) UPROPERTY(EditAnywhere, meta = (DisplayName = "Usecase", Category = "Connection"))
TEnumAsByte<EConnectionSetting::Type> AddressSetting = EConnectionSetting::Type::Automatic; TEnumAsByte<EConnectionSetting::Type> AddressSetting = EConnectionSetting::Type::Automatic;
// IP Address for manual input // IP Address for manual input
UPROPERTY(EditAnywhere, meta = (DisplayName = "IP Adress", Category = "Connection")) // CanEditChange used UPROPERTY(EditAnywhere, meta = (DisplayName = "IP Adress", Category = "Connection"))
FString ServerIPAddress = "10.0.1.240"; FString ServerIPAddress = "10.0.1.240";
// Port for manual input // Port for manual input
UPROPERTY(EditAnywhere, meta = (DisplayName = "Port [0, 65535]", Category = "Connection", // CanEditChange used UPROPERTY(EditAnywhere, meta = (DisplayName = "Port [0, 65535]", Category = "Connection",
ClampMin = "0", ClampMax = "65535", UIMin = "0", UIMax = "65535")) ClampMin = "0", ClampMax = "65535", UIMin = "0", UIMax = "65535"))
uint16 ServerPort = 12340; uint16 ServerPort = 12340;
// Port for manual input // Always reconnect to VAServer when this level is started?
UPROPERTY(EditAnywhere, meta = (Category = "Connection", DisplayName = "Always reconnect to VAServer when this level is started?")) UPROPERTY(EditAnywhere, meta = (Category = "Connection", DisplayName = "Automatic Reconnect"))
bool bReconnecToVAServer = true; bool bReconnecToVAServer = true;
// Read in File? // Activate automatic remote VAServer start via Python (VAServer Launcher)
UPROPERTY(EditAnywhere, meta = (DisplayName = "Use VAServer Launcher", Category = "VAServer Launcher"))
bool bAutomaticRemoteVAStart = true;
// Port for remote VAServer Launcher [0, 65535]
UPROPERTY(EditAnywhere, meta = (DisplayName = "VAServer Launcher Port", Category = "VAServer Launcher",
ClampMin = "0", ClampMax = "65535", UIMin = "0", UIMax = "65535"))
uint16 RemoteVAStarterPort = 41578;
// ID for VAServer version being started automatically, configurable in the Config of the VAServer Launcher
UPROPERTY(EditAnywhere, meta = (DisplayName = "VAServer Version ID", Category = "VAServer Launcher"))
FString WhichVAServerVersionToStart = TEXT("2022.a");
// Ini file with VA renderer settings. File will be sent to VAServer launcher on startup if filename is not empty.
UPROPERTY(EditAnywhere, meta = (DisplayName = "VARenderer.ini file", Category = "VAServer Launcher"))
FString VARendererIniFile = TEXT("");
// Read an initial mapping file for directivities?
UPROPERTY(EditAnywhere, meta = (DisplayName = "Read an initial mapping file?", Category = "Directivity Manager")) UPROPERTY(EditAnywhere, meta = (DisplayName = "Read an initial mapping file?", Category = "Directivity Manager"))
bool bReadInitialMappingFile = false; bool bReadInitialMappingFile = false;
...@@ -76,35 +99,10 @@ protected: ...@@ -76,35 +99,10 @@ protected:
UPROPERTY(EditAnywhere, meta = (DisplayName = "Name of ini file for directivities", Category = "Directivity Manager")) UPROPERTY(EditAnywhere, meta = (DisplayName = "Name of ini file for directivities", Category = "Directivity Manager"))
FString DirMappingFileName = ""; FString DirMappingFileName = "";
// Port for remote VAServer starting
UPROPERTY(EditAnywhere, meta = (DisplayName = "Remote VAServer Start Port [0, 65535]", Category = "Connection",
// CanEditChange used
ClampMin = "0", ClampMax = "65535", UIMin = "0", UIMax = "65535"))
uint16 RemoteVAStarterPort = 41578;
// Which version should be started automatically
UPROPERTY(EditAnywhere, meta = (DisplayName =
"Which VAServer version should be started, configurable in the Config of the VAServer Launcher", Category =
"General Settings"))
FString WhichVAServerVersionToStart = TEXT("2020.a");
// Ini file with VA renderer settings. File will be sent to VAServer launcher on startup if not empty
UPROPERTY(EditAnywhere, meta = (DisplayName = "VARenderer.ini file", Category = "Connection"))
FString VARendererIniFile = TEXT("");
// Controller for global auraliztion modes // Controller for global auraliztion modes
UPROPERTY(EditAnywhere, Instanced, NoClear, meta = (DisplayName = "Auraliztion Mode Controller", Category = "Auralization Modes")) UPROPERTY(EditAnywhere, Instanced, NoClear, meta = (DisplayName = "Auraliztion Mode Controller", Category = "Auralization Modes"))
UVAAuralizationModeController* AuralizationModeController; UVAAuralizationModeController* AuralizationModeController;
// View point to head center offset (x forward-dir, y right-dir, z up-dir) in cm. Note that x and z most probably need to be negative!
UPROPERTY(EditAnywhere, meta = (Category = "General Settings"))
FVector ViewpointToHeadcenterOffset = FVector(0, 0, 0);
// Source for tracking data, e.g., VirtualRealityPawn, ManualData (e.g., manually passed on from Optitrack)
UPROPERTY(EditAnywhere, meta = (Category = "General Settings"))
ETrackingSource TrackingSource = ETrackingSource::VirtualRealityPawn;
public: public:
// Sets default values for this actor's properties // Sets default values for this actor's properties
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment