API reference
API reference
Select your platform
No SDKs available
No versions available

FOvrId Struct

It represents a UE type corresponding to OVR Platform ::ovrID. It is used to represent an ID in the OVR Platform and provides a convenient way to work with IDs in the OVR Platform within Unreal Engine.

Constructors

FOvrId ()
This is the default constructor for the FOvrId struct. It initializes the Id member variable to 0.
Signature
FOvrId::FOvrId()
FOvrId ( ID )
Initializes the Id member variable with the value of the ID parameter. This constructor is useful when you have an existing ovrID value.
Signature
FOvrId::FOvrId(ovrID ID)
Parameters
ID: ovrID
FOvrId ( StrId )
This takes a string parameter and convert the string to an unsigned 64-bit integer, which is then assigned to the Id member variable.
Signature
FOvrId::FOvrId(const FString &StrId)
Parameters
StrId: const FString &

Friend Declarations

GetTypeHash : friend uint32
This is a friend function that provides a hash code for a FOvrId object based on the Id member variable.
Signature
uint32 GetTypeHash(const FOvrId &Other)

Member Functions

operator ovrID ()
This is an implicit conversion operator that allows a FOvrId object to be converted to an ovrID value. The ovrID type is the native ID type used by the OVR Platform.
Signature
FOvrId::operator ovrID() const
operator== ( Other )
This is an equality operator that allows you to compare two FOvrId objects for equality.
Signature
bool FOvrId::operator==(const FOvrId &Other)
Parameters
Other: const FOvrId &
Returns
bool