FBasedPosition

Syntax

struct FBasedPosition

Remarks

Struct for handling positions relative to a base actor, which is potentially moving

Variables

Name Description

Public variable

AActor *

 

Base

Actor that is the base

Public variable

FVector

 

CachedBaseLocation

Public variable

FRotator

 

CachedBaseRotation

Public variable

FVector

 

CachedTransPosition

Public variable

FVector

 

Position

Position relative to the base actor

Constructors

Name Description

Public function

FBasedPosition()

Public function

FBasedPosition

(
    AActor * InBase,
    const FVector & InPosition
)

Functions

Name Description

Public function

void

 

Clear()

Clear base/position

Public function

void

 

Set

(
    AActor * InBase,
    const FVector & InPosition
)

Updates base/position

Operators

Name Description

Public function Const

FVector

 

operator*()

Retrieve world location of this position

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/EngineTypes.h