UAndroidXRGlobalDimmingBlueprintFunctionLibrary
#include <AndroidXRGlobalDimmingBlueprintFunctionLibrary.h>
Summary
Inheritance
Inherits from:UBlueprintFunctionLibrary
Public static functions |
|
|---|---|
EnumerateSupportedGlobalDimmingLevels(bool & AllLevelsSupported, TArray< float > & SupportedGlobalDimmingLevels)
|
bool
Enumerates the global dimming levels supported by the system.
|
GetEventProxy()
|
Gets the AndroidXRGlobalDimming event proxy, which allows users to bind to delegates which fired in response to XrEvents.
|
GetGlobalDimmingLevel(float & CurrentDimmingLevel)
|
bool
Gets the current global dimming level.
|
GetGlobalDimmingSupported()
|
bool
Checks if global dimming is supported by the system.
|
SetGlobalDimmingLevel(float PreferredDimmingLevel)
|
bool
Sets the preferred global dimming level.
|
Public static functions
EnumerateSupportedGlobalDimmingLevels
bool EnumerateSupportedGlobalDimmingLevels( bool & AllLevelsSupported, TArray< float > & SupportedGlobalDimmingLevels )
Enumerates the global dimming levels supported by the system.
If returns true but SupportedGlobalDimmingLevels is empty all levels are supported.
| Details | |||||
|---|---|---|---|---|---|
| Parameters |
|
||||
| Returns |
True if the underlying API call was successful.
|
GetEventProxy
UAndroidXRGlobalDimmingEventProxy * GetEventProxy()
Gets the AndroidXRGlobalDimming event proxy, which allows users to bind to delegates which fired in response to XrEvents.
| Details | |
|---|---|
| Returns |
AndroidXRGlobalDimming event proxy static instance.
|
GetGlobalDimmingLevel
bool GetGlobalDimmingLevel( float & CurrentDimmingLevel )
Gets the current global dimming level.
| Details | |||
|---|---|---|---|
| Parameters |
|
||
| Returns |
True if the underlying API call was successful.
|
GetGlobalDimmingSupported
bool GetGlobalDimmingSupported()
Checks if global dimming is supported by the system.
| Details | |
|---|---|
| Returns |
True if the system supports global dimming.
|
SetGlobalDimmingLevel
bool SetGlobalDimmingLevel( float PreferredDimmingLevel )
Sets the preferred global dimming level.
EnumerateSupportedGlobalDimmingLevels will provide the supported levels.
| Details | |||
|---|---|---|---|
| Parameters |
|
||
| Returns |
True if the underlying API call was successful.
|