top of page

VR Weapon Animation Instance

VR weapon animation instance class which can be used as parent class of animation blueprint.

Class name:

Include:

Type:

Lines of code:

UVR_WeaponAnimationInstance

#include "VR/VR_Player/Weapons/VR_WeaponAnimationInstance.h"

Animation Instance

136

​General Information

Description

VR Weapon Animation Instance is a class from which weapon animation blueprint can be inherited. Variables can be used for animation blending.


Variables

fTriggerInt - This is a float variable from 0 to 1 which indicates trigger push intensitivity.

fHammerInt - This is a float variable from 0 to 1 which indicates weapon hammer push intensitivity.

bJustShoot - This is a bool variable which indicates that weapon was just shoot.

bSaferPressed  - This is a bool variable which indicates that safer was pressed.

bLatsBulletShot - This is a bool variable which indicates that was the last bullet shoot from the mag.

Blueprint API Reference

Public Member Functions

 

Set Trigger Int

Input
   float
 
 

Set Hammer Int 
 
Input
   float
 

 Set Just Shoot 
 
Input
   bool 
 

 Set Safer Pressed 
 
Input
   bool 
 

 Set Slider  
 
Input
   bool 
 

 Get Trigger Int

Output 
   float
 
 

Get Hammer Int 
 
Output 
   float
 

 Get Just Shoot  

Output 
   bool
 
 

 Get Safer Pressed

Output 
   bool
 
 

 Get Lats Bullet Shot 

Output 
   bool
 

Public Attributes

 

float 	fTriggerInt
 
 

float 	fHammerInt
 
 

bool 	bJustShoot
 
 

bool 	bSaferPressed
 
 

bool 	bLatsBulletShot
 

bottom of page