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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback