|
Head Mounted VR 3.0
|
Bullet class. More...
#include <VR_AmmoRound.h>
Inheritance diagram for AVR_AmmoRound:Public Member Functions | |
| AVR_AmmoRound () | |
| void | SetCaliber (uint8 NewCaliber) |
| Set Bullet Caliber. | |
| virtual bool | Fire () |
| Fire a Bullet. Returns "True" if bullet firs first time. | |
| FORCEINLINE uint8 | GetCaliber () const |
| FORCEINLINE bool | GetSheel () const |
Public Member Functions inherited from AVR_StaticMesh | |
| AVR_StaticMesh () | |
| void | UpdateModel (class UStaticMesh *NewMesh) |
| Updates the Pickup mesh model. | |
| void | UpdateMaterial (class UMaterialInterface *NewMaterial) |
| Updates the Pickup mesh material. | |
| void | UpdateMass (float NewMass) |
| Updates the mass on the object. | |
| FORCEINLINE class UStaticMeshComponent * | GetPickupMesh () const |
| Get Pickup Mesh. | |
| virtual void | Tick (float DeltaTime) override |
| Called every frame. | |
Public Member Functions inherited from AVR_Actor | |
| AVR_Actor () | |
| 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. | |
| bool | IsColliding () |
| void | Drop (class UVR_HandComponent *MotionController) |
| Stop object interaction. | |
| void | Shoot () |
| bool | IsHeldBy (class UVR_HandComponent *MotionController) |
| Indetify if object is held by MotionController. | |
| bool | CanNonVRInteract () |
| bool | ForceCheckForGrabComponents () |
| void | NonVRInteraction (AVR_Player *Player) |
| bool | IsNonVRInteractTillStop () |
| void | Stop_NonVRInteraction (AVR_Player *Player) |
| Stop object interaction. | |
Protected Member Functions | |
| virtual void | BeginPlay () override |
| Called when the game starts or when spawned. | |
Protected Member Functions inherited from AVR_StaticMesh | |
Protected Member Functions inherited from AVR_Actor | |
Protected Attributes | |
| class UStaticMeshComponent * | BulletShellMesh |
| bool | bAttacched |
| True -> If bullet is Attacched. | |
| bool | bSheel |
| If bullet is Fired. | |
| uint8 | Caliber |
| Ammo Caliber. | |
Protected Attributes inherited from AVR_StaticMesh | |
| class USceneComponent * | RootScene |
| Default scene root. | |
| class UStaticMeshComponent * | PickupMesh |
| Mesh for picking up. | |
Protected Attributes inherited from AVR_Actor | |
| bool | bIsColliding = false |
Additional Inherited Members | |
Public Attributes inherited from AVR_StaticMesh | |
| class UVR_GrabComponent * | GrabComponent |
Bullet class.
| AVR_AmmoRound::AVR_AmmoRound | ( | ) |
|
overrideprotectedvirtual |
Called when the game starts or when spawned.
Reimplemented from AVR_StaticMesh.
|
virtual |
Fire a Bullet. Returns "True" if bullet firs first time.
|
inline |
|
inline |
| void AVR_AmmoRound::SetCaliber | ( | uint8 | NewCaliber | ) |
Set Bullet Caliber.
| NewCaliber |
|
protected |
True -> If bullet is Attacched.
|
protected |
If bullet is Fired.
|
protected |
|
protected |
Ammo Caliber.