Sensors
Using additional sensors, you can get a detailed snapshot of the player's physical or emotional state. We provide a simple API to record sensor data and display this data on SceneExplorer.
If there is sensor data available for a SceneExplorer session, it can be accessed by the sensors tab on the navigation bar.
class MyPlayer
{
void MyPlayer::Tick(float deltaTime)
{
auto cog = cognitive::CognitiveVRAnalyticsCore::Instance();
cog->GetSensor()->RecordSensor("Heartrate", 79);
cog->GetSensor()->RecordSensor("SkinTemperature", 32);
}
};
If you have a question or any feedback about our documentation please use the Intercom button (purple circle) in the lower right corner of any web page.