Head Mounted VR 2.5
|
This is a skeletal object which player can pick up using one of grab methods (enum EGrabMethod) More...
#include <VR_SkeletalMesh.h>
Public Member Functions | |
AVR_SkeletalMesh () | |
void | UpdateModel (class USkeletalMesh *NewMesh) |
Updates the Pickup mesh model More... | |
void | UpdateMaterial (class UMaterialInterface *NewMaterial) |
Updates the Pickup mesh material More... | |
FORCEINLINE class USkeletalMeshComponent * | GetPickupMesh () const |
Get Pickup Mesh More... | |
virtual void | Tick (float DeltaTime) override |
Called every frame. More... | |
Public Member Functions inherited from AVR_Actor | |
AVR_Actor () | |
virtual void | Tick (float DeltaTime) override |
virtual bool | IsColliding_Implementation () |
void | OnHitCheckColliding (UPrimitiveComponent *HitComponent, AActor *OtherActor, UPrimitiveComponent *OtherComp, FVector normalImpulse, const FHitResult &Hit) |
Public Member Functions inherited from IVR_InteractionInterface | |
bool | IsGrabbed () |
bool | CanPullGrab () |
void | Grab (class UVR_HandComponent *MotionController, bool &HandleStatus, bool bFroceAttachHandle) |
Used for interaction with objects such as door More... | |
bool | IsColliding () |
void | Drop (class UVR_HandComponent *MotionController) |
Stop object interaction More... | |
void | Shoot () |
bool | IsHeldBy (class UVR_HandComponent *MotionController) |
Indetify if object is held by MotionController More... | |
bool | CanNonVRInteract () |
bool | ForceCheckForGrabComponents () |
void | NonVRInteraction (AVR_Player *Player) |
bool | IsNonVRInteractTillStop () |
void | Stop_NonVRInteraction (AVR_Player *Player) |
Stop object interaction More... | |
Public Attributes | |
class UVR_GrabComponent * | GrabComponent |
Protected Member Functions | |
virtual void | BeginPlay () override |
Called when the game starts or when spawned. More... | |
virtual void | BeginPlay () override |
Protected Attributes | |
class USceneComponent * | RootScene |
Default scene root More... | |
class USkeletalMeshComponent * | PickupMesh |
Mesh for picking up. More... | |
Protected Attributes inherited from AVR_Actor | |
bool | bIsColliding = false |
This is a skeletal object which player can pick up using one of grab methods (enum EGrabMethod)
AVR_SkeletalMesh::AVR_SkeletalMesh | ( | ) |
|
overrideprotectedvirtual |
Called when the game starts or when spawned.
Reimplemented from AVR_Actor.
Reimplemented in AVR_EquipmentSkeletal.
|
inline |
Get Pickup Mesh
|
overridevirtual |
void AVR_SkeletalMesh::UpdateMaterial | ( | class UMaterialInterface * | NewMaterial | ) |
Updates the Pickup mesh material
NewMaterial |
void AVR_SkeletalMesh::UpdateModel | ( | class USkeletalMesh * | NewMesh | ) |
Updates the Pickup mesh model
NewMesh |
class UVR_GrabComponent* AVR_SkeletalMesh::GrabComponent |
|
protected |
Mesh for picking up.
|
protected |
Default scene root