Navigation
API > API/Plugins > API/Plugins/GeometryCacheUSD
Inheritance Hierarchy
- IGeometryCacheStream
- FGeometryCacheStreamBase
- FGeometryCacheUsdStream
References
| Module | GeometryCacheUSD |
| Header | /Engine/Plugins/Importers/USDImporter/Source/GeometryCacheUSD/Public/GeometryCacheUSDStream.h |
| Include | #include "GeometryCacheUSDStream.h" |
Syntax
class FGeometryCacheUsdStream : public FGeometryCacheStreamBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| std::atomic< bool > | bReadyForRead | ||
| FReadUsdMeshFunction | ReadFunc | ||
| UGeometryCacheTrackUsd * | UsdTrack |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FGeometryCacheUsdStream
(
UGeometryCacheTrackUsd* InUsdTrack, |
Overridden from FGeometryCacheStreamBase
| Type | Name | Description | |
|---|---|---|---|
| void | GetMeshData
(
int32 FrameIndex, |
Derived class must provide a way to get the mesh data for the given FrameIndex, called from worker threads | |
| void | PrepareRead () |
Function called from main thread to prepare for GetMeshData |
Overridden from IGeometryCacheStream
| Type | Name | Description | |
|---|---|---|---|
| bool | GetFrameData
(
int32 FrameIndex, |
Get the MeshData at given FrameIndex without waiting for data to be ready Return true if MeshData could be retrieved | |
| void | UpdateRequestStatus
(
TArray< int32 >& OutFramesCompleted |
Update the status of the read requests currently in progress. |