General Information
Description
VR_Variables.h contains: FFingerCurls Structure, EGrip_Code enum, EGrabMethod enum, EFinger enum, EAnimationType enum, EPickUpAnimations enum, EAxies enum, EVRAvatarMode enum.
FFingerCurls - This is a stucture whcih contains float varialbles(Thumb, Index, Middle, Ring, Pinky. Values are from 0 to 1) for each finger and are used in VR Hand, VR Hand Animation Instance.
EGrip_Code - This is a enum which contains the following values: Open, Closed.
EGrabMethod - This is a enum which contains the following values: AttachTo(Attach without physics), Physics(Attach with physics and IK finger animation), PhysicsAnimated(Attach with physics and one static hand animation), PhysicsAnimatedNearSocket(Attach with physics to near socket and use an animation from the array), AnimatedAndIK(Attach with physics to near socket in radius(Animation from the array) else attach to the near surfacace(IK)). It is being used in VR Actors.
EFinger - This is a enum which contains the following values: Thumb, Index, Middle, Ring, Pinky. It is being used in VR Hand for a finger identification.
EAnimationType - This is a enum which contains the following values: IK, Animation. It is being used in VR Hand Animation Instance for a animation type identification.
EPickUpAnimations - This is a enum which contains the following values: StaticAnimation, Interactable. It is being used for grabbed object type identification in VR Hand Animation Instance(For example player can interact with weapon and equipment by pressing the button. EPickUpAnimations will be Interactable).
EAxies - This is a enum which contains the following values: X, Y, Z. This enum is being used in VR Actors such as: VR Door, VR Drawer, VR Lever slide, VR Lever Rotatable etc.
EVRAvatarMode - This is a enum which contains the following values: HandsOnly, FullBody. This enum is being used in VR Player to identify the avatar type.
Blueprint API Reference
Simplified VR_Variables.h
struct FFingerCurls
{
float Thumb = 0.0f;
float Index = 0.0f;
float Middle = 0.0f;
float Ring = 0.0f;
float Pinky = 0.0f;
};
enum class EGrip_Code : uint8
{
Open = 0,
Closed
};
enum class EGrabMethod : uint8
{
AttachTo = 0,
Physics,
PhysicsAnimated,
PhysicsAnimatedNearSocket,
AnimatedAndIK
};
enum class EFinger : uint8
{
Thumb = 0,
Index,
Middle,
Ring,
Pinky
};
enum class EAnimationType : uint8
{
IK = 0,
Animation
};
enum class EPickUpAnimations : uint8
{
StaticAnimation = 0,
Interactable
};
enum class EAxies : uint8
{
X = 0,
Y,
Z
};
enum class EVRAvatarMode : uint8
{
HandsOnly = 0,
FullBody
};