A Demo Project for the UnrealEngineSDK
|
UCLASS(Blueprintable, meta = (BlueprintSpawnableComponent)) More...
#include <OpenVRExpansionFunctionLibrary.h>
Public Member Functions | |
UOpenVRExpansionFunctionLibrary (const FObjectInitializer &ObjectInitializer) | |
~UOpenVRExpansionFunctionLibrary () | |
Static Public Member Functions | |
static void | AcquireVRCamera (FBPOpenVRCameraHandle &CameraHandle, EBPOVRResultSwitch &Result) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|VRCamera", meta = (bIgnoreSelf = "true", DisplayName = "AcquireVRCamera", ExpandEnumAsExecs = "Result")) | |
static bool | ClearSkyboxOverride () |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true")) | |
static UTexture2D * | CreateCameraTexture2D (UPARAM(ref) FBPOpenVRCameraHandle &CameraHandle, EOpenVRCameraFrameType FrameType, EBPOVRResultSwitch &Result) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|VRCamera", meta = (bIgnoreSelf = "true", DisplayName = "CreateCameraTexture2D", ExpandEnumAsExecs = "Result")) | |
static bool | FadeHMDToColor (float fSeconds, FColor Color, bool bBackground=false) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true")) | |
static bool | FadeVRGrid (float fSeconds, bool bFadeIn) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true")) | |
static bool | GetCurrentHMDFadeColor (FColor &ColorOut, bool bBackground=false) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true")) | |
static bool | GetCurrentVRGridAlpha (float &VRGridAlpha) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true")) | |
static EBPOpenVRControllerDeviceType | GetOpenVRControllerType () |
UFUNCTION(BlueprintPure, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetOpenVRControllerType")) | |
static void | GetOpenVRDevices (TArray< EBPOpenVRTrackedDeviceClass > &FoundDevices) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true")) | |
static void | GetOpenVRDevicesByType (EBPOpenVRTrackedDeviceClass TypeToRetreive, TArray< int32 > &FoundIndexs) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true")) | |
static EBPOpenVRTrackedDeviceClass | GetOpenVRDeviceType (int32 DeviceIndex) |
UFUNCTION(BlueprintPure, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true")) | |
static EBPOpenVRHMDDeviceType | GetOpenVRHMDType () |
UFUNCTION(BlueprintPure, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetOpenVRHMDType")) | |
static void | GetVRCameraFrame (UPARAM(ref) FBPOpenVRCameraHandle &CameraHandle, EOpenVRCameraFrameType FrameType, EBPOVRResultSwitch &Result, UTexture2D *TargetRenderTarget=nullptr) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|VRCamera", meta = (bIgnoreSelf = "true", DisplayName = "GetVRCameraFrame", ExpandEnumAsExecs = "Result")) | |
static UTexture2D * | GetVRDeviceModelAndTexture (UObject *WorldContextObject, FString RenderModelNameOverride, FString &RenderModelNameOut, EBPOpenVRTrackedDeviceClass DeviceType, TArray< UProceduralMeshComponent * > ProceduralMeshComponentsToFill, bool bCreateCollision, EAsyncBlueprintResultSwitch &Result, int32 OverrideDeviceID=-1) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", WorldContext = "WorldContextObject", DisplayName = "GetVRDeviceModelAndTexture", ExpandEnumAsExecs = "Result", AdvancedDisplay = "OverrideDeviceID")) | |
static void | GetVRDevicePropertyBool (EVRDeviceProperty_Bool PropertyToRetrieve, int32 DeviceID, bool &BoolValue, EBPOVRResultSwitch &Result) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetVRDevicePropertyBool", ExpandEnumAsExecs = "Result")) | |
static void | GetVRDevicePropertyFloat (EVRDeviceProperty_Float PropertyToRetrieve, int32 DeviceID, float &FloatValue, EBPOVRResultSwitch &Result) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetVRDevicePropertyFloat", ExpandEnumAsExecs = "Result")) | |
static void | GetVRDevicePropertyInt32 (EVRDeviceProperty_Int32 PropertyToRetrieve, int32 DeviceID, int32 &IntValue, EBPOVRResultSwitch &Result) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetVRDevicePropertyInt32", ExpandEnumAsExecs = "Result")) | |
static void | GetVRDevicePropertyMatrix34AsTransform (EVRDeviceProperty_Matrix34 PropertyToRetrieve, int32 DeviceID, FTransform &TransformValue, EBPOVRResultSwitch &Result) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetVRDevicePropertyMatrix34AsTransform", ExpandEnumAsExecs = "Result")) | |
static void | GetVRDevicePropertyString (EVRDeviceProperty_String PropertyToRetrieve, int32 DeviceID, FString &StringValue, EBPOVRResultSwitch &Result) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetVRDevicePropertyString", ExpandEnumAsExecs = "Result")) | |
static void | GetVRDevicePropertyUInt64 (EVRDeviceProperty_UInt64 PropertyToRetrieve, int32 DeviceID, FString &UInt64Value, EBPOVRResultSwitch &Result) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetVRDevicePropertyUInt64", ExpandEnumAsExecs = "Result")) | |
static bool | HasVRCamera (EOpenVRCameraFrameType FrameType, int32 &Width, int32 &Height) |
UFUNCTION(BlueprintPure, Category = "VRExpansionFunctions|SteamVR|VRCamera", meta = (bIgnoreSelf = "true", DisplayName = "HasVRCamera")) | |
static bool | IsOpenVRDeviceConnected (int32 DeviceIndex) |
UFUNCTION(BlueprintPure, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true")) | |
static bool | IsValid (UPARAM(ref) FBPOpenVRCameraHandle &CameraHandle) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|VRCamera", meta = (bIgnoreSelf = "true", DisplayName = "IsValid")) | |
static void | ReleaseVRCamera (UPARAM(ref) FBPOpenVRCameraHandle &CameraHandle, EBPOVRResultSwitch &Result) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|VRCamera", meta = (bIgnoreSelf = "true", DisplayName = "ReleaseVRCamera", ExpandEnumAsExecs = "Result")) | |
static bool | SetSkyboxOverride (UTexture *tFront, UTexture2D *tBack, UTexture *tLeft, UTexture *tRight, UTexture *tTop, UTexture *tBottom) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true")) | |
static bool | SetSkyboxOverride_LatLong (UTexture2D *LatLongSkybox) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true")) | |
static bool | SetSkyboxOverride_LatLongStereoPair (UTexture2D *LatLongSkyboxL, UTexture2D *LatLongSkyboxR) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true")) | |
static bool | SetSuspendRendering (bool bSuspendRendering) |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true")) | |
Private Member Functions | |
GENERATED_BODY () | |
UCLASS(Blueprintable, meta = (BlueprintSpawnableComponent))
Definition at line 583 of file OpenVRExpansionFunctionLibrary.h.
UOpenVRExpansionFunctionLibrary::UOpenVRExpansionFunctionLibrary | ( | const FObjectInitializer & | ObjectInitializer | ) |
Definition at line 26 of file OpenVRExpansionFunctionLibrary.cpp.
UOpenVRExpansionFunctionLibrary::~UOpenVRExpansionFunctionLibrary | ( | ) |
Definition at line 32 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|VRCamera", meta = (bIgnoreSelf = "true", DisplayName = "AcquireVRCamera", ExpandEnumAsExecs = "Result"))
Definition at line 310 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true"))
Definition at line 1287 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|VRCamera", meta = (bIgnoreSelf = "true", DisplayName = "CreateCameraTexture2D", ExpandEnumAsExecs = "Result"))
Definition at line 402 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true"))
Fades the view on the HMD to the specified color. The fade will take fSeconds, and the color values are between 0.0 and 1.0. This color is faded on top of the scene based on the alpha parameter. Removing the fade color instantly would be FadeToColor( 0.0, 0.0, 0.0, 0.0, 0.0 ). Values are in un-premultiplied alpha space.
Definition at line 1308 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true"))
Fading the Grid in or out in fSeconds
Definition at line 1351 of file OpenVRExpansionFunctionLibrary.cpp.
|
private |
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true"))
Get current fade color value.
Definition at line 1329 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true"))
Get current alpha value of grid.
Definition at line 1371 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetOpenVRControllerType"))
Definition at line 172 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true"))
Definition at line 868 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true"))
Definition at line 892 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true"))
Definition at line 847 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetOpenVRHMDType"))
Definition at line 40 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|VRCamera", meta = (bIgnoreSelf = "true", DisplayName = "GetVRCameraFrame", ExpandEnumAsExecs = "Result"))
Definition at line 455 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", WorldContext = "WorldContextObject", DisplayName = "GetVRDeviceModelAndTexture", ExpandEnumAsExecs = "Result", AdvancedDisplay = "OverrideDeviceID"))
Definition at line 932 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetVRDevicePropertyBool", ExpandEnumAsExecs = "Result"))
Definition at line 621 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetVRDevicePropertyFloat", ExpandEnumAsExecs = "Result"))
Definition at line 666 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetVRDevicePropertyInt32", ExpandEnumAsExecs = "Result"))
Definition at line 711 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetVRDevicePropertyMatrix34AsTransform", ExpandEnumAsExecs = "Result"))
Definition at line 801 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetVRDevicePropertyString", ExpandEnumAsExecs = "Result"))
Definition at line 573 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true", DisplayName = "GetVRDevicePropertyUInt64", ExpandEnumAsExecs = "Result"))
Definition at line 756 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRExpansionFunctions|SteamVR|VRCamera", meta = (bIgnoreSelf = "true", DisplayName = "HasVRCamera"))
Definition at line 270 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintPure |
UFUNCTION(BlueprintPure, Category = "VRExpansionFunctions|SteamVR", meta = (bIgnoreSelf = "true"))
Definition at line 913 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|VRCamera", meta = (bIgnoreSelf = "true", DisplayName = "IsValid"))
Definition at line 396 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|VRCamera", meta = (bIgnoreSelf = "true", DisplayName = "ReleaseVRCamera", ExpandEnumAsExecs = "Result"))
Definition at line 357 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true"))
Definition at line 1245 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true"))
Definition at line 1207 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true"))
Definition at line 1167 of file OpenVRExpansionFunctionLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VRExpansionFunctions|SteamVR|Compositor", meta = (bIgnoreSelf = "true"))
Definition at line 1391 of file OpenVRExpansionFunctionLibrary.cpp.