Utilities functions accessible even from blueprints.
More...
#include <PanoramicBlueprintFunctionLibrary.h>
|
| static bool | NavigationLookup (UObject *WorldContextObject, class UTexture2D *NavLookupTex, FVector2D UV, FColor &OutColor) |
| | Reads the pixel value of the given texture at the given UV coordinates.
|
| static void | NewPanoramicWidget (UObject *WorldContextObject, TSubclassOf< UUserWidget > InWidgetClass, class UWidgetComponent *&OutWidget) |
| | Constructs a panoramic widget.
|
| static bool | TracePanoramicStageNav (UObject *WorldContextObject, const UPanoramicStage *InStage, const class APanoramicSphere *InSphere, FVector WorldDir, FPanoramicStageNavigation &OutStageNav) |
| | Trace a ray against the world and return if a FPanoramicStageNavigation is found.
|
| static bool | TracePanoramicWidget (UObject *WorldContextObject, const class APanoramicSphere *InSphere, FVector WorldDir, class UWidgetComponent *&OutWidget) |
| | Trace a ray against the world to find widget components.
|
Utilities functions accessible even from blueprints.
◆ NavigationLookup()
| bool UPanoramicBlueprintFunctionLibrary::NavigationLookup |
( |
UObject * | WorldContextObject, |
|
|
class UTexture2D * | NavLookupTex, |
|
|
FVector2D | UV, |
|
|
FColor & | OutColor ) |
|
static |
Reads the pixel value of the given texture at the given UV coordinates.
- Parameters
-
| WorldContextObject | The World context object |
| NavLookupTex | The navigation lookup texture |
| UV | The UV pixel coordinates where to read |
| OutColor | The color in output |
- Returns
- TRUE if the texture is accessible, FALSE otherwise
◆ NewPanoramicWidget()
| void UPanoramicBlueprintFunctionLibrary::NewPanoramicWidget |
( |
UObject * | WorldContextObject, |
|
|
TSubclassOf< UUserWidget > | InWidgetClass, |
|
|
class UWidgetComponent *& | OutWidget ) |
|
static |
Constructs a panoramic widget.
- Parameters
-
| WorldContextObject | The World context object |
| InWidgetClass | the widget class type |
| OutWidget | the new widget as output |
◆ TracePanoramicStageNav()
Trace a ray against the world and return if a FPanoramicStageNavigation is found.
- Parameters
-
| WorldContextObject | The World context object |
| WorldDir | The dir (in world space) of the ray |
| InStage | The panoramic stage where you are |
| InSphere | The panoramic sphere used for rendering |
| OutStageNav | The stage navigation as output (if any) |
- Returns
- TRUE if a FPanoramicStageNavigation is found
◆ TracePanoramicWidget()
| bool UPanoramicBlueprintFunctionLibrary::TracePanoramicWidget |
( |
UObject * | WorldContextObject, |
|
|
const class APanoramicSphere * | InSphere, |
|
|
FVector | WorldDir, |
|
|
class UWidgetComponent *& | OutWidget ) |
|
static |
Trace a ray against the world to find widget components.
- Parameters
-
| WorldContextObject | The World context object |
| InSphere | The panoramic sphere used for rendering |
| WorldDir | The dir (in world space) of the ray |
| OutWidget | The user widget component as output (if any) |
- Returns
- TRUE if a UWidgetComponent is found
The documentation for this class was generated from the following file:
- StereoPanoramicPlayer/Public/PanoramicBlueprintFunctionLibrary.h