UCLASS()  
 More...
#include <VRPathFollowingComponent.h>
 | 
| void  | DebugReachTest (float &CurrentDot, float &CurrentDistance, float &CurrentHeight, uint8 &bDotFailed, uint8 &bDistanceFailed, uint8 &bHeightFailed) const | 
|   | 
| int32  | DetermineStartingPathPoint (const FNavigationPath *ConsideredPath) const override | 
|   | 
| void  | FollowPathSegment (float DeltaTime) override | 
|   | 
| virtual void  | GetDebugStringTokens (TArray< FString > &Tokens, TArray< EPathFollowingDebugTokens::Type > &Flags) const override | 
|   | 
| bool  | HasReached (const AActor &TestGoal, EPathFollowingReachMode ReachMode, float AcceptanceRadius=UPathFollowingComponent::DefaultAcceptanceRadius, bool bUseNavAgentGoalLocation=true) const | 
|   | 
| bool  | HasReached (const FVector &TestPoint, EPathFollowingReachMode ReachMode, float AcceptanceRadius=UPathFollowingComponent::DefaultAcceptanceRadius) const | 
|   | 
| bool  | HasReachedCurrentTarget (const FVector &CurrentLocation) const | 
|   | 
| void  | PauseMove (FAIRequestID RequestID=FAIRequestID::CurrentRequest, EPathFollowingVelocityMode VelocityMode=EPathFollowingVelocityMode::Reset) override | 
|   | 
| void  | SetMovementComponent (UNavMovementComponent *MoveComp) override | 
|   | 
| bool  | ShouldCheckPathOnResume () const override | 
|   | 
| bool  | UpdateBlockDetection () override | 
|   | 
| void  | UpdatePathSegment () override | 
|   | 
UCLASS() 
Definition at line 18 of file VRPathFollowingComponent.h.
 
◆ DebugReachTest()
      
        
          | void UVRPathFollowingComponent::DebugReachTest  | 
          ( | 
          float & |           CurrentDot,  | 
        
        
           | 
           | 
          float & |           CurrentDistance,  | 
        
        
           | 
           | 
          float & |           CurrentHeight,  | 
        
        
           | 
           | 
          uint8 & |           bDotFailed,  | 
        
        
           | 
           | 
          uint8 & |           bDistanceFailed,  | 
        
        
           | 
           | 
          uint8 & |           bHeightFailed ) const | 
        
      
 
 
◆ DetermineStartingPathPoint()
  
  
      
        
          | int32 UVRPathFollowingComponent::DetermineStartingPathPoint  | 
          ( | 
          const FNavigationPath * |           ConsideredPath | ) | 
           const | 
         
       
   | 
  
override   | 
  
 
 
◆ FollowPathSegment()
  
  
      
        
          | void UVRPathFollowingComponent::FollowPathSegment  | 
          ( | 
          float |           DeltaTime | ) | 
           | 
         
       
   | 
  
override   | 
  
 
 
◆ GENERATED_BODY()
  
  
      
        
          | UVRPathFollowingComponent::GENERATED_BODY  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
◆ GetDebugStringTokens()
  
  
      
        
          | void UVRPathFollowingComponent::GetDebugStringTokens  | 
          ( | 
          TArray< FString > & |           Tokens,  | 
         
        
           | 
           | 
          TArray< EPathFollowingDebugTokens::Type > & |           Flags ) const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ HasReached() [1/2]
      
        
          | bool UVRPathFollowingComponent::HasReached  | 
          ( | 
          const AActor & |           TestGoal,  | 
        
        
           | 
           | 
          EPathFollowingReachMode |           ReachMode,  | 
        
        
           | 
           | 
          float |           AcceptanceRadius = UPathFollowingComponent::DefaultAcceptanceRadius,  | 
        
        
           | 
           | 
          bool |           bUseNavAgentGoalLocation = true ) const | 
        
      
 
simple test for stationary agent (used as early finish condition), check if reached given goal 
- Parameters
 - 
  
    | TestGoal | - actor to test  | 
    | AcceptanceRadius | - allowed 2D distance  | 
    | ReachMode | - modifiers for AcceptanceRadius  | 
    | bUseNavAgentGoalLocation | - true: if the goal is a nav agent, we will use their nav agent location rather than their actual location  | 
  
   
Definition at line 42 of file VRPathFollowingComponent.cpp.
 
 
◆ HasReached() [2/2]
      
        
          | bool UVRPathFollowingComponent::HasReached  | 
          ( | 
          const FVector & |           TestPoint,  | 
        
        
           | 
           | 
          EPathFollowingReachMode |           ReachMode,  | 
        
        
           | 
           | 
          float |           AcceptanceRadius = UPathFollowingComponent::DefaultAcceptanceRadius ) const | 
        
      
 
simple test for stationary agent (used as early finish condition), check if reached given point 
- Parameters
 - 
  
    | TestPoint | - point to test  | 
    | AcceptanceRadius | - allowed 2D distance  | 
    | ReachMode | - modifiers for AcceptanceRadius  | 
  
   
Definition at line 27 of file VRPathFollowingComponent.cpp.
 
 
◆ HasReachedCurrentTarget()
      
        
          | bool UVRPathFollowingComponent::HasReachedCurrentTarget  | 
          ( | 
          const FVector & |           CurrentLocation | ) | 
           const | 
        
      
 
 
◆ PauseMove()
  
  
      
        
          | void UVRPathFollowingComponent::PauseMove  | 
          ( | 
          FAIRequestID |           RequestID = FAIRequestID::CurrentRequest,  | 
         
        
           | 
           | 
          EPathFollowingVelocityMode |           VelocityMode = EPathFollowingVelocityMode::Reset ) | 
         
       
   | 
  
override   | 
  
 
notify about finished movement pause path following 
- Parameters
 - 
  
    | RequestID | - request to pause, FAIRequestID::CurrentRequest means pause current request, regardless of its ID  | 
  
   
Definition at line 129 of file VRPathFollowingComponent.cpp.
 
 
◆ SetMovementComponent()
  
  
      
        
          | void UVRPathFollowingComponent::SetMovementComponent  | 
          ( | 
          UNavMovementComponent * |           MoveComp | ) | 
           | 
         
       
   | 
  
override   | 
  
 
 
◆ ShouldCheckPathOnResume()
  
  
      
        
          | bool UVRPathFollowingComponent::ShouldCheckPathOnResume  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
override   | 
  
 
 
◆ UpdateBlockDetection()
  
  
      
        
          | bool UVRPathFollowingComponent::UpdateBlockDetection  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
override   | 
  
 
 
◆ UpdatePathSegment()
  
  
      
        
          | void UVRPathFollowingComponent::UpdatePathSegment  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
override   | 
  
 
 
◆ VRMovementComp
The documentation for this class was generated from the following files: