top of page

VR Hand Inventory

Inventory class which is can be attached to the player's hand.

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

Include:

Тип:

Строки кода:

AVR_HandInventory

#include "VR/VR_Player/VR_HandInventory.h"

Player

465

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

Description

VR Hand Inventory class is an inventory actor which attaches to the players hand. Can store VR Static Meshes, VR Skeletal Meshes, VR Weapons and VR Equipment.



VR Hand Inventory class is an inventory actor  which attaches to the players hand. Can store VR Static Meshes, VR Skeletal Meshes, VR Weapons and VR Equipment.
VR Hand Inventory Demo Example

Settings


  • Max Slots - This is a variable which contains the maximum items which can inventory contain.

  • From Center Slot Distance - This is a variable which contains a radius of the circle.

  • Item Scale - This is a varible which contains the scale of the items icons in the inventory

  • Item Rotation Pitch/Yaw/Roll - This is a variables which contains rotation speed.



Selection

Selection is done by changing the Fresnel Intensity value(Each item which player can put in the inventory should have this parameter to make the selection work. Weapons should have icon mesh selected, image below) .





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

Public Member Functions

 
IsInventoryOn
   Output
      bool
 

Get Inventory Actors

   Output
      TArray< TSubclassOf< class AActor > >
 
 

Get Inventory Meshes () 

 Output
      TArray< UStaticMesh * >
 

Public Attributes

 

int 	MaxSlots
 
 

int 	UsedSlots
 
 

float 	FromCenterSlotDistance
 
 

float 	ItemsScale
 
 

float 	ItemRotationPitchValue
 
 

float 	ItemRotationYawValue
 
 

float 	ItemRotationRollValue
 
 

bool 	WeaponIn
 
 

int 	lastammo
 
 

AActor * 	ParentMC
 
 

TArray< TSubclassOf< class AActor > > 	InventoryActors
 
 

TArray< UStaticMesh * > 	InventoryMeshes
 
 

TArray< AStaticMeshActor * > 	InventoryMeshesActors
 
 

int 	SelecteSlot
 
 

bool 	bIsInventoryOn
 

bottom of page