top of page

VR Save Preferences 

This class is used for saving selected movement preferences.

Название класса:

Include:

Тип:

Строки кода:

UVR_SavePreferences

#include "VR/VR_Save/VR_SavePreferences.h"

Player

74

Общая информация

Description

VR SavePreferences is a class which saves the user VR preferences such as MovementType, TurnType, Quick_Turn_Angle. Save slot is automaticaly applied to the VR Player(See VR Player) in the BeginPlay function.


enum Movement Type

  • Smooth

  • Teleport


enum Turn Type

  • Smooth

  • Quick_Turn


enum Quick Turn Angle

  • Angle_15

  • Angle_30

  • Angle_45

  • Angle_60

  • Angle_75

  • Angle_90


C++


enum class MovementType : uint8
{
	Smooth = 0,
	Teleport
};

enum class TurnType : uint8
{
	Smooth = 0,
	Quick_Turn
};

enum class Quick_Turn_Angle : uint8
{
	Angle_15 = 0,
	Angle_30,
	Angle_45,
	Angle_60,
	Angle_75,
	Angle_90
};

Справочник API Blueprint

Public Attributes

 

FString SaveSlotName
 

uint32 UserIndex
 

MovementType Movement
 

TurnType Turn
 

Quick_Turn_Angle TurnAngle
 

bottom of page