A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
AVRAIController Class Reference

UCLASS() More...

#include <VRAIController.h>

Inheritance diagram for AVRAIController:
[legend]

Public Member Functions

virtual FVector GetFocalPointOnActor (const AActor *Actor) const override
 
virtual bool LineOfSightTo (const AActor *Other, FVector ViewPoint=FVector(ForceInit), bool bAlternateChecks=false) const override
 

Private Member Functions

 GENERATED_BODY ()
 

Detailed Description

UCLASS()

Definition at line 15 of file VRAIController.h.

Member Function Documentation

◆ GENERATED_BODY()

AVRAIController::GENERATED_BODY ( )
private

◆ GetFocalPointOnActor()

FVector AVRAIController::GetFocalPointOnActor ( const AActor * Actor) const
overridevirtual

Definition at line 9 of file VRAIController.cpp.

◆ LineOfSightTo()

bool AVRAIController::LineOfSightTo ( const AActor * Other,
FVector ViewPoint = FVector(ForceInit),
bool bAlternateChecks = false ) const
overridevirtual

Checks line to center and top of other actor

Parameters
Otheris the actor whose visibility is being checked.
ViewPointis eye position visibility is being checked from. If vect(0,0,0) passed in, uses current viewtarget's eye position.
bAlternateChecksused only in AIController implementation
Returns
true if controller's pawn can see Other actor.

Definition at line 19 of file VRAIController.cpp.

Here is the call graph for this function:

The documentation for this class was generated from the following files: