FComponentTypeInfo

Complete type information for a component within an [FEntityManager](API\Runtime\MovieScene\EntitySystem\FEntityManager) This structure defines how to interact with the component data for operations such as copying, relocating, initializing, destructing and reference collection.

Windows
MacOS
Linux

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/EntitySystem/MovieSceneComponentTypeInfo.h

Include

#include "EntitySystem/MovieSceneComponentTypeInfo.h"

Syntax

struct FComponentTypeInfo

Remarks

Complete type information for a component within an FEntityManager This structure defines how to interact with the component data for operations such as copying, relocating, initializing, destructing and reference collection.

Variables

Name Description

Public variable

uint8

 

Alignment

1 byte - The required alignment of the component in bytes

Public variable

uint8: 1

 

bHasReferencedObjects

Public variable

uint8: 1

 

bIsCopiedToOutput

Public variable

uint8: 1

 

bIsMigratedToOutput

Public variable

uint8: 1

 

bIsPreserved

Public variable

uint8: 1

 

bIsTriviallyCopyAssignable

Public variable

uint8: 1

 

bIsTriviallyDestructable

Public variable

uint8: 1

 

bIsZeroConstructType

1 byte - Type flags for the component type

Public variable

TUniquePtr< ICo...

 

ComplexComponentOps

16 bytes - Custom native definition for non-POD types

Public variable

TUniquePtr< FCo...

 

DebugInfo

8 Bytes - Debugging information primarily for natviz support

Public variable

uint8

 

Sizeof

1 byte - The size of the component in bytes

Constructors

Name Description

Public function

FComponentTypeInfo()

Functions

Name Description

Public function Const

void

 

AddReferencedObjects

(
    FReferenceCollector& ReferenceColl...,
    void* ComponentStart,
    int32 Num
)

Reference collect a contiguous array of components

Public function Const

void

 

ConstructItems

(
    void* Components,
    int32 Num
)

Construct a contiguous array of components

Public function Const

void

 

CopyItems

(
    void* Dest,
    const void* Source,
    int32 Num
)

Copy a contiguous array of components

Public function Const

void

 

DestructItems

(
    void* Components,
    int32 Num
)

Destruct a contiguous array of components

Public function Const

bool

 

IsTag()

Whether this component type describes a tag, i.e. a component with no data.

Public function

void

 

MakeComplexComponentOps()

Define complex component operations for this type of component

Public function Const

void

 

RelocateConstructItems

(
    void* Dest,
    void* Source,
    int32 Num
)

Copy a contiguous array of components

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