FBasedPosition

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

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h

Include

#include "Engine/EngineTypes.h"

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss