unreal.HmdUserProfile

class unreal.HmdUserProfile(name='', gender='', player_height=0.0, eye_height=0.0, ipd=0.0, neck_to_eye_distance=[0.0, 0.0], extra_fields=[])

Bases: unreal.StructBase

Hmd User Profile

C++ Source:

  • Plugin: OculusVR

  • Module: OculusHMD

  • File: OculusFunctionLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • extra_fields (Array(HmdUserProfileField)): [Read-Write] Extra Fields

  • eye_height (float): [Read-Write] Height of the player, in meters

  • gender (str): [Read-Write] Gender of the user (“male”, “female”, etc).

  • ipd (float): [Read-Write] Interpupillary distance of the player, in meters

  • name (str): [Read-Write] Name of the user’s profile.

  • neck_to_eye_distance (Vector2D): [Read-Write] Neck-to-eye distance, in meters. X - horizontal, Y - vertical.

  • player_height (float): [Read-Write] Height of the player, in meters

property extra_fields

[Read-Write] Extra Fields

Type

(Array(HmdUserProfileField))

property eye_height

[Read-Write] Height of the player, in meters

Type

(float)

property gender

[Read-Write] Gender of the user (“male”, “female”, etc).

Type

(str)

property ipd

[Read-Write] Interpupillary distance of the player, in meters

Type

(float)

property name

[Read-Write] Name of the user’s profile.

Type

(str)

property neck_to_eye_distance

[Read-Write] Neck-to-eye distance, in meters. X - horizontal, Y - vertical.

Type

(Vector2D)

property player_height

[Read-Write] Height of the player, in meters

Type

(float)