LEAP Documentation 40220
Documentation for the LEAP project
ADeployableMarker Class Reference

#include <DeployableMarker.h>

Inheritance diagram for ADeployableMarker:

Public Member Functions

FORCEINLINE float GetDeployRadius () const
 
FORCEINLINE float GetMaxVerticalDelta () const
 
FORCEINLINE bool IsValidPlacement () const
 
FORCEINLINE bool IsNotGrounded () const
 
FORCEINLINE bool IsTooHighSlope () const
 
FORCEINLINE bool IsTooMuchZDifference () const
 
FORCEINLINE bool IsSkyObstructed () const
 
FORCEINLINE bool ShouldTestBeRun (EPlacementTests DataType) const
 
virtual void Tick (float DeltaTime) override
 
bool IsValidPlacement (FTransform &Transform, UWorld *World) const
 
uint8 TestPlacement (FTransform &Transform, UWorld *World, bool bFullTest=true) const
 
void OnMarkerSuccess ()
 
void OnMarkerFailed (EPlacementFailureReason Reason)
 

Protected Member Functions

virtual void BeginPlay () override
 
virtual void UpdatePlacementFlags (bool bForceUpdate=false)
 
virtual bool GetGroundedTransform (FTransform &Transform, UWorld *World) const
 
virtual bool PerformTraceTest (const FTransform &Transform, FTransform &CapsuleBaseTransform, UWorld *World) const
 
virtual bool PerformCapsuleTest (const FTransform &BaseTransform, UWorld *World) const
 

Protected Attributes

uint8 PlacementFlags = MAX_uint8
 
float DeployRadius = 80.f
 
int32 RadialTestPoints = 8
 
float MaxDeploySlope = 30.f
 
float MaxDeployVerticalDelta = 30.f
 
bool bDebug = false
 
uint8 PlacementTestsToRun
 

Member Function Documentation

◆ BeginPlay()

void ADeployableMarker::BeginPlay ( )
overrideprotectedvirtual

◆ GetDeployRadius()

FORCEINLINE float ADeployableMarker::GetDeployRadius ( ) const
inline

◆ GetGroundedTransform()

bool ADeployableMarker::GetGroundedTransform ( FTransform &  Transform,
UWorld *  World 
) const
protectedvirtual

◆ GetMaxVerticalDelta()

FORCEINLINE float ADeployableMarker::GetMaxVerticalDelta ( ) const
inline

◆ IsNotGrounded()

FORCEINLINE bool ADeployableMarker::IsNotGrounded ( ) const
inline

◆ IsSkyObstructed()

FORCEINLINE bool ADeployableMarker::IsSkyObstructed ( ) const
inline

◆ IsTooHighSlope()

FORCEINLINE bool ADeployableMarker::IsTooHighSlope ( ) const
inline

◆ IsTooMuchZDifference()

FORCEINLINE bool ADeployableMarker::IsTooMuchZDifference ( ) const
inline

◆ IsValidPlacement() [1/2]

FORCEINLINE bool ADeployableMarker::IsValidPlacement ( ) const
inline

◆ IsValidPlacement() [2/2]

bool ADeployableMarker::IsValidPlacement ( FTransform &  Transform,
UWorld *  World 
) const

◆ OnMarkerFailed()

void ADeployableMarker::OnMarkerFailed ( EPlacementFailureReason  Reason)

◆ OnMarkerSuccess()

void ADeployableMarker::OnMarkerSuccess ( )

◆ PerformCapsuleTest()

bool ADeployableMarker::PerformCapsuleTest ( const FTransform &  BaseTransform,
UWorld *  World 
) const
protectedvirtual

◆ PerformTraceTest()

bool ADeployableMarker::PerformTraceTest ( const FTransform &  Transform,
FTransform &  CapsuleBaseTransform,
UWorld *  World 
) const
protectedvirtual

◆ ShouldTestBeRun()

FORCEINLINE bool ADeployableMarker::ShouldTestBeRun ( EPlacementTests  DataType) const
inline

◆ TestPlacement()

uint8 ADeployableMarker::TestPlacement ( FTransform &  Transform,
UWorld *  World,
bool  bFullTest = true 
) const

◆ Tick()

void ADeployableMarker::Tick ( float  DeltaTime)
overridevirtual

◆ UpdatePlacementFlags()

void ADeployableMarker::UpdatePlacementFlags ( bool  bForceUpdate = false)
protectedvirtual

Member Data Documentation

◆ bDebug

bool ADeployableMarker::bDebug = false
protected

◆ DeployRadius

float ADeployableMarker::DeployRadius = 80.f
protected

◆ MaxDeploySlope

float ADeployableMarker::MaxDeploySlope = 30.f
protected

◆ MaxDeployVerticalDelta

float ADeployableMarker::MaxDeployVerticalDelta = 30.f
protected

◆ PlacementFlags

uint8 ADeployableMarker::PlacementFlags = MAX_uint8
protected

◆ PlacementTestsToRun

uint8 ADeployableMarker::PlacementTestsToRun
protected

◆ RadialTestPoints

int32 ADeployableMarker::RadialTestPoints = 8
protected

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