top of page
General Information
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.
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) .
Blueprint API Reference
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