Navigation
API > API/Plugins > API/Plugins/GeometryCacheUSD
GeometryCacheTrack for querying USD
| Name | UGeometryCacheTrackUsd |
| Type | class |
| Header File | /Engine/Plugins/Importers/USDImporter/Source/GeometryCacheUSD/Public/GeometryCacheTrackUSD.h |
| Include Path | #include "GeometryCacheTrackUSD.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, BlueprintType, Config=Engine)
class UGeometryCacheTrackUsd : public UGeometryCacheTrack
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGeometryCacheTrack → UGeometryCacheTrackUsd
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UGeometryCacheTrackUsd() |
GeometryCacheTrackUSD.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentStagePinned | UE::FUsdStage | GeometryCacheTrackUSD.h | ||
| CurrentStageWeak | UE::FUsdStageWeak | GeometryCacheTrackUSD.h | ||
| EndFrameIndex | int32 | GeometryCacheTrackUSD.h | ||
| FramesPerSecond | double | GeometryCacheTrackUSD.h | ||
| PrimPath | FString | GeometryCacheTrackUSD.h | ||
| StageRootLayerPath | FString | GeometryCacheTrackUSD.h | ||
| StartFrameIndex | int32 | GeometryCacheTrackUSD.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MeshData | FGeometryCacheMeshData | GeometryCacheTrackUSD.h | ||
| SampleInfos | TArray< FGeometryCacheTrackSampleInfo > | GeometryCacheTrackUSD.h | ||
| UsdStream | TUniquePtr< FGeometryCacheUsdStream > | GeometryCacheTrackUSD.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const int32 FindSampleIndexFromTime
(
const float Time, |
GeometryCacheTrackUSD.h | ||
void GetFractionalFrameIndexFromTime
(
const float Time, |
GeometryCacheTrackUSD.h | ||
bool GetMeshData
(
int32 SampleIndex, |
GeometryCacheTrackUSD.h | ||
const FGeometryCacheTrackSampleInfo & GetSampleInfo
(
int32 SampleIndex |
GetSampleInfo version that avoids converting time to index. Prefer this version when the index is already available. | GeometryCacheTrackUSD.h | |
float GetTimeFromSampleIndex
(
int32 SampleIndex |
GeometryCacheTrackUSD.h | ||
| GeometryCacheTrackUSD.h | |||
void Initialize
(
const UE::FUsdStage& InStage, |
GeometryCacheTrackUSD.h | ||
bool LoadUsdStage () |
Upgrades our CurrentStageWeak into CurrentStagePinned, or re-opens the stage if its stale. | GeometryCacheTrackUSD.h | |
void RegisterStream() |
GeometryCacheTrackUSD.h | ||
void UnloadUsdStage() |
Discards our CurrentStagePinned to release the stage. | GeometryCacheTrackUSD.h | |
void UnregisterStream() |
GeometryCacheTrackUSD.h |
Overridden from UGeometryCacheTrack
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool GetMeshDataAtSampleIndex
(
int32 SampleIndex, |
GeometryCacheTrackUSD.h | ||
virtual bool GetMeshDataAtTime
(
float Time, |
GeometryCacheTrackUSD.h | ||
virtual const FGeometryCacheTrackSampleInfo & GetSampleInfo
(
float Time, |
GeometryCacheTrackUSD.h | ||
virtual const bool UpdateBoundsData
(
const float Time, |
GeometryCacheTrackUSD.h | ||
virtual const bool UpdateMeshData
(
const float Time, |
GeometryCacheTrackUSD.h | ||
virtual void UpdateTime
(
float Time, |
GeometryCacheTrackUSD.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
GeometryCacheTrackUSD.h | ||
virtual void GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
GeometryCacheTrackUSD.h |