This is a physic base button class. Can be used in world or as a child actor component.
More...
#include <VR_Button.h>
This is a physic base button class. Can be used in world or as a child actor component.
◆ AVR_Button()
| AVR_Button::AVR_Button |
( |
| ) |
|
◆ BeginPlay()
| void AVR_Button::BeginPlay |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ CheckPosition()
| void AVR_Button::CheckPosition |
( |
| ) |
|
|
protected |
◆ DoOnPressed()
| void AVR_Button::DoOnPressed |
( |
| ) |
|
◆ GetMesh()
| FORCEINLINE class UStaticMeshComponent * AVR_Button::GetMesh |
( |
| ) |
const |
|
inline |
Get Pickup Mesh.
- Note
- Blueprint Callable , Category = "Object|Grab"
- Returns
- Returns StaticMeshComponent
◆ IsPressed()
| bool AVR_Button::IsPressed |
( |
| ) |
|
◆ SetParent()
| void AVR_Button::SetParent |
( |
AStaticMeshActor * | ParentActor | ) |
|
|
virtual |
Sets door Parent(Door Frame or smth like that)
- Parameters
-
◆ SetParentComponent()
| void AVR_Button::SetParentComponent |
( |
UPrimitiveComponent * | PrimitiveParentComponent | ) |
|
|
virtual |
◆ Tick()
| void AVR_Button::Tick |
( |
float | DeltaTime | ) |
|
|
overridevirtual |
◆ UpdateReturnForce()
| void AVR_Button::UpdateReturnForce |
( |
float | Force, |
|
|
float | Velocity, |
|
|
float | Max_Force ) |
◆ bDoOncePress
| bool AVR_Button::bDoOncePress |
◆ Body_Mesh
| class UStaticMeshComponent* AVR_Button::Body_Mesh |
|
protected |
◆ Body_PhysicsConstraint
| class UPhysicsConstraintComponent* AVR_Button::Body_PhysicsConstraint |
|
protected |
◆ bPressed
| bool AVR_Button::bPressed |
|
protected |
◆ FallInDistance
| float AVR_Button::FallInDistance |
◆ MaxForce
| float AVR_Button::MaxForce |
◆ Parent_Actor
| class AStaticMeshActor* AVR_Button::Parent_Actor |
|
protected |
◆ PrevLoc
| FVector AVR_Button::PrevLoc |
|
protected |
◆ ReturnForce
| float AVR_Button::ReturnForce |
◆ RootScene
| class USceneComponent* AVR_Button::RootScene |
|
protected |
◆ SlideDirection
| FVector AVR_Button::SlideDirection |
◆ VelocityStrength
| float AVR_Button::VelocityStrength |
The documentation for this class was generated from the following files:
- J:/Projects/LUEZ/LUEZ/Plugins/HeadMountedVR/Source/HeadMountedVR/Public/VR/VR_Actors/VR_Button.h
- J:/Projects/LUEZ/LUEZ/Plugins/HeadMountedVR/Source/HeadMountedVR/Private/VR/VR_Actors/VR_Button.cpp