Mobile Sensors

Porret Gaming - 代码插件 - 2023/09/28

Elevate your game with precise data and responsive interactions, unlocking new possibilities in player engagement through native sensors. Create immersive environments with real-world interactions.

  • 支持的平台
  • 支持的引擎版本
    4.27, 5.0 - 5.4
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

Most Android-powered devices have built-in sensors that measure motion, orientation, and various environmental conditions. These sensors are capable of providing raw data with high precision and accuracy, and are useful if you want to monitor three-dimensional device movement or positioning, or you want to monitor changes in the ambient environment near a device.


Introducing the Unreal Engine plugin for the Android SDK Sensors API, an easy to use tool which brings the power of the Android devices sensors to your Unreal Engine projects. The plugin is tailored to grant access to sensor control even within Unreal Engine blueprints.


Access to Android SDK Sensor API

  • 🔍 Check Sensor Availability
  • 🎚️ Toggle Sensors On and Off
  • 📈 Control Sensor Reporting Frequency
  • 🕐 Listen to Sensor Events in Real Time
  • 🔄 Automatically Toggle Sensors on Application Pause and Resume


Comprehensive documentation and support for developers of all skill levels

技术细节

Blueprint Nodes:

  • Has Sensor Type
  • Register Sensor
  • Deregister Sensor
  • Setup Sensor Event Listener
  • Get Temperature
  • Get Light
  • Get Pressure
  • Get Humidity
  • Get Accelerometer
  • Get Accelerometer Uncalibrated
  • Get Gravity
  • Get Gyroscope
  • Get Gyroscope Uncalibrated
  • Get Linear Acceleration
  • Get Rotation Vector
  • Get Step Count
  • Get Game Rotation
  • Get Geomagnetic Rotation
  • Get Magnetic Field
  • Get Magnetic Field Uncalibrated
  • Get Proximity
  • Get Device Orientation


Number of Blueprints: 22

Number of C++ Classes: 16

Number of Java Classes: 2

Module(s): AndroidSensors [Runtime]

Supported Development Platforms: Windows / Mac

Supported Target Build Platforms: Android

Documentation: https://porret-gaming.github.io/plugins/android-native/sensors/overview.html

Release Notes: https://porret-gaming.github.io/plugins/release/notes/android_sensors.html