FAbcFile

Windows
MacOS
Linux

References

Module

AlembicLibrary

Header

/Engine/Plugins/Experimental/AlembicImporter/Source/AlembicLibrary/Public/AbcFile.h

Include

#include "AbcFile.h"

Syntax

class FAbcFile

Variables

Name Description

Protected variable

FString

 

AppName

Protected variable

Alembic::Abc::I...

 

Archive

Archive-typed ABC file

Protected variable

FBoxSphereBound...

 

ArchiveBounds

Entire bounds of the archive over time

Protected variable

float

 

ArchiveSecondsPerFrame

FPS stored inside of the ABC file

Protected variable

Alembic::AbcCor...

 

CompressionType

Protected variable

TMap< FString, ...

 

CustomAttributes

Protected variable

FString

 

DateWritten

Protected variable

int32

 

EndFrameIndex

Protected variable

Alembic::AbcCor...

 

Factory

Factory used to generate objects

Protected variable

const FString

 

FilePath

File path for the ABC file

Protected variable

int32

 

FramesPerSecond

Frames per second (retrieved and specified in top Alembic object)

Protected variable

float

 

ImportLength

Final length (in seconds)_of sequence we are importing

Protected variable

UAbcImportSetti...

 

ImportSettings

Cached user set import settings

Protected variable

float

 

ImportTimeOffset

Protected variable

uint32

 

LibVersion

Protected variable

FString

 

LibVersionString

Protected variable

TMap< FString, ...

 

MaterialMap

Map of material created for the imported alembic file identified by material names

Protected variable

int32

 

MaxFrameIndex

Protected variable

float

 

MaxTime

Protected variable

IMeshUtilities ...

 

MeshUtilities

Cached Mesh utilities ptr for normal calculations

Protected variable

int32

 

MinFrameIndex

Min and maximum frame index which contain actual data in the Alembic file

Protected variable

float

 

MinTime

Min and maximum time found in the Alembic file

Protected variable

int32

 

NumFrames

Total (max) number of frames in the Alembic file

Protected variable

TArray< IAbcObj...

 

Objects

Abstract and typed objects part of this ABC file

Protected variable

TArray< FAbcPol...

 

PolyMeshes

Protected variable

IAbcObject *...

 

RootObject

Root (top) object in the ABC file

Protected variable

float

 

SecondsPerFrame

Seconds per frame (calculated according to FPS)

Protected variable

int32

 

StartFrameIndex

Frame indices at which to start and stop importing

Protected variable

Alembic::Abc::I...

 

TopObject

Alembic typed root (top) object

Protected variable

TArray< FAbcTra...

 

Transforms

Protected variable

TArray< FString...

 

UniqueFaceSetNames

Protected variable

FString

 

UserDescription

Constructors

Name Description

Public function

FAbcFile

(
    const FString& InFilePath
)

Destructors

Name Description

Public function

~FAbcFile()

Functions

Name Description

Public function

void

 

CleanupFrameData

(
    const int32 ReadIndex
)

Cleans up frame data.

Public function Const

const bool

 

ContainsHeterogeneousMeshes()

Protected function

void

 

ExtractCustomAttributes

(
    const Alembic::AbcGeom::IPolyMesh&...
)

Public function Const

const FBoxSp...

 

GetArchiveBounds()

Public function Const

TArray< FMet...

 

GetArchiveMetaData()

Returns the metadata of the Alembic archive

Public function Const

const int32

 

GetEndFrameIndex()

Public function Const

const FStrin...

 

GetFilePath()

Get file path for currently opened ABC file

Public function

int32

 

GetFrameIndex

(
    float Time
)

Returns frame index equivalent to a given time, based on the frame rate of the file

Public function Const

const int32

 

GetFramerate()

Public function Const

const float

 

GetImportLength()

Public function Const

const int32

 

GetImportNumFrames()

Public function Const

const UAbcIm...

 

GetImportSettings()

Returns user specified import settings

Public function Const

const float

 

GetImportTimeOffset()

Public function

UMaterialInt...

 

GetMaterialByName

(
    const FString& InMaterialName
)

Returns a material for the specified material(faceset) name or null if it wasn't created or found

Public function Const

const int32

 

GetMaxFrameIndex()

Public function Const

IMeshUtiliti...

 

GetMeshUtilities()

Return mesh utilities module ptr (used in non-gamethread jobs)

Public function Const

const int32

 

GetMinFrameIndex()

Returns ABC specific frame and timing information

Public function Const

const int32

 

GetNumPolyMeshes()

Return number of PolyMeshes inside of the ABC file

Public function Const

const TArray...

 

GetPolyMeshes()

Return array of PolyMeshes inside of the ABC file

Public function Const

const float

 

GetSecondsPerFrame()

Public function Const

const int32

 

GetStartFrameIndex()

Returns start/end frame index of imported playback range

Public function Const

const TArray...

 

GetTransforms()

Return array of Transform Objects inside of the ABC file

Public function Const

const TArray...

 

GetUniqueFaceSetNames()

Returns the list of unique face set names from the meshes to be imported

Public function

EAbcImportEr...

 

Import

(
    UAbcImportSettings* InImportSe...
)

Sets up import data and propagates import settings to read objects

Public function

EAbcImportEr...

 

Open()

Opens the ABC file and reads initial data for import options

Public function

void

 

ProcessFrames

(
    TFunctionRef< void, FAbcFile ...,
    const EFrameReadFlags InFlags
)

Process all to-import frames for each poly mesh inside of the ABC file

Public function

void

 

ReadFrame

(
    int32 FrameIndex,
    const EFrameReadFlags InFlags,
    const int32 ReadIndex
)

Reads the frame data for the given FrameIndex, with the ReadIndex used to specify the current read when doing concurrent reads (up to 8 at the same time)

Protected function

void

 

TraverseAbcHierarchy

(
    const Alembic::Abc::IObject& InObj...,
    IAbcObject* InParent
)

Typedefs

Name

Description

FMetaData

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