Provides access to a range of miscellaneous utility functions.
Sets the steam utils callback listener.
Once installed, the listener will receive utils events via the callback methods.
Removes the current steam utils callback listener.
Checks if the Overlay needs a present.
Only required if using event driven render updates.
Gets the current amount of battery power on the computer.
The current battery power ranging between [0..100]%. Returns 255 when the user is on AC power.
Method GetEnteredGamepadTextInput:Int(txt:String Var)
Gets the gamepad text input from the Big Picture overlay.
Gets the length of the gamepad text input from the Big Picture overlay.
Method GetImageRGBA:Int(image:Int, dest:Byte Ptr, destBufferSize:Int)
Gets the image bytes from an image handle.
Prior to calling this you must get the size of the image by calling GetImageSize so that you can create your buffer with an appropriate size. You can then allocate your buffer with the width and height as: width * height * 4. The image is provided in RGBA format. This call can be somewhat expensive as it converts from the compressed type (JPG, PNG, TGA) and provides no internal caching of returned buffer, thus it is highly recommended to only call this once per image handle and cache the result. This method is only used for Steam Avatars and Achievement images and those are not expected to change mid game.
Method GetImageSize:Int(image:Int, width:UInt Var, height:UInt Var)
Gets the size of a Steam image handle.
This must be called before calling GetImageRGBA to create an appropriately sized buffer that will be filled with the raw image data.
Returns the number of seconds since the application was active.
Returns the number of seconds since the user last moved the mouse.
Returns the Steam server time in Unix epoch format.
Number of seconds since Jan 1, 1970 UTC.
Returns the 2 digit ISO 3166-1-alpha-2 format country code which client is running in.
This is looked up via an IP-to-location database.
Returns the language the steam client is running in.
You probably want TSteamApps.GetCurrentGameLanguage instead, this should only be used in very special cases.
Gets the App ID of the current process.
Checks if the Steam Overlay is running and the user can access it.
The overlay process could take a few seconds to start and hook the game process, so this method will initially return False while the overlay is loading.
Checks if Steam and the Steam Overlay are running in Big Picture mode.
Games must be launched through the Steam client to enable the Big Picture overlay. During development, a game can be added as a non-steam game to the developers library to test this feature.
Checks if Steam is running in VR mode.
Checks if the HMD view will be streamed via Steam In-Home Streaming.
Method SetOverlayNotificationInset(horizontalInset:Int, verticalInset:Int)
Sets the inset of the overlay notification from the corner specified by SetOverlayNotificationPosition.
A value of (0, 0) resets the position into the corner. This position is per-game and is reset each launch.
Sets which corner the Steam overlay notification popup should display itself in.
You can also set the distance from the specified corner by using SetOverlayNotificationInset. This position is per-game and is reset each launch.
Sets whether the HMD content will be streamed via Steam In-Home Streaming.
If this is enabled, then the scene in the HMD headset will be streamed, and remote input will not be allowed. Otherwise if this is disabled, then the application window will be streamed instead, and remote input will be allowed. VR games default to enabled unless "VRHeadsetStreaming" "0" is in the extended appinfo for a game.
This is useful for games that have asymmetric multiplayer gameplay.
Asks Steam to create and render the OpenVR dashboard.
Method ShowGamepadTextInput:Int(inputMode:EGamepadTextInputMode, lineInputMode:EGamepadTextInputLineMode, description:String, charMax:UInt, existingText:String)
Activates the Big Picture text input dialog which only supports gamepad input.