Navigation
API > API/Plugins > API/Plugins/AlembicLibrary
| Name | FAbcFile |
| Type | class |
| Header File | /Engine/Plugins/Importers/AlembicImporter/Source/AlembicLibrary/Public/AbcFile.h |
| Include Path | #include "AbcFile.h" |
Syntax
class FAbcFile
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAbcFile
(
const FString& InFilePath |
AbcFile.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FAbcFile() |
AbcFile.h |
Typedefs
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| NoFaceSetNameStr | const FString | AbcFile.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CleanupFrameData
(
const int32 ReadIndex |
Cleans up frame data. | AbcFile.h | |
const bool ContainsHeterogeneousMeshes() |
AbcFile.h | ||
const FBoxSphereBounds & GetArchiveBounds() |
AbcFile.h | ||
TArray< FMetaData > GetArchiveMetaData() |
Returns the metadata of the Alembic archive | AbcFile.h | |
const int32 GetEndFrameIndex() |
AbcFile.h | ||
const FString GetFilePath() |
Get file path for currently opened ABC file | AbcFile.h | |
int32 GetFrameIndex
(
float Time |
Returns frame index equivalent to a given time, based on the frame rate of the file | AbcFile.h | |
const float GetFramerate() |
AbcFile.h | ||
const float GetImportLength() |
AbcFile.h | ||
const int32 GetImportNumFrames() |
AbcFile.h | ||
const UAbcImportSettings * GetImportSettings() |
Returns user specified import settings | AbcFile.h | |
const float GetImportTimeOffset() |
AbcFile.h | ||
const TArray< int32 > & GetLookupMaterialSlot() |
Returns the mapping from material index (stored in per triangle material indices of FAbcMeshSample) to material slot (one for each unique faceset name) | AbcFile.h | |
UMaterialInterface ** GetMaterialByName
(
const FString& InMaterialName |
Returns a material for the specified material(faceset) name or null if it wasn't created or found | AbcFile.h | |
const int32 GetMaxFrameIndex() |
AbcFile.h | ||
IMeshUtilities * GetMeshUtilities() |
Return mesh utilities module ptr (used in non-gamethread jobs) | AbcFile.h | |
const int32 GetMinFrameIndex() |
Returns ABC specific frame and timing information | AbcFile.h | |
int32 GetNumMaterialSlots() |
Returns the number of material slots ( == number of unique facesets ) | AbcFile.h | |
const int32 GetNumPolyMeshes() |
Return number of PolyMeshes inside of the ABC file | AbcFile.h | |
const TArray< FAbcPolyMesh * > & GetPolyMeshes() |
Return array of PolyMeshes inside of the ABC file | AbcFile.h | |
const float GetSecondsPerFrame() |
AbcFile.h | ||
const int32 GetStartFrameIndex() |
Returns start/end frame index of imported playback range | AbcFile.h | |
const TArray< FAbcTransform * > & GetTransforms() |
Return array of Transform Objects inside of the ABC file | AbcFile.h | |
| Returns the list of unique face set names from the meshes to be imported | AbcFile.h | ||
EAbcImportError Import
(
UAbcImportSettings* InImportSettings |
Sets up import data and propagates import settings to read objects | AbcFile.h | |
EAbcImportError Open() |
Opens the ABC file and reads initial data for import options | AbcFile.h | |
bool ProcessFrames
(
TFunctionRef< void(int32, FAbcFile*)> InCallback, |
Process all to-import frames for each poly mesh inside of the ABC file, optional SlowTask to interrupt process and returns 'completed' | AbcFile.h | |
void ReadFrame
(
int32 FrameIndex, |
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) | AbcFile.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ExtractCustomAttributes
(
const Alembic::AbcGeom::IPolyMesh& InMesh |
AbcFile.h | ||
void TraverseAbcHierarchy
(
const Alembic::Abc::IObject& InObject, |
AbcFile.h |