EHMDWornState::Type

Stores if the user is wearing the HMD or not.

Windows
MacOS
Linux

References

Module

HeadMountedDisplay

Header

/Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayTypes.h

Include

#include "HeadMountedDisplayTypes.h"

Syntax

namespace EHMDWornState
{
    enum Type
    {
        Unknown,
        Worn,
        NotWorn,
    }
}

Values

Name

Description

Unknown

Worn

NotWorn

Remarks

Stores if the user is wearing the HMD or not. For HMDs without a sensor to detect the user wearing it, the state defaults to Unknown.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss