Navigation
API > API/Plugins > API/Plugins/GeometryCacheUSD
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGeometryCacheTrack
- UGeometryCacheTrackUsd
References
| Module | GeometryCacheUSD |
| Header | /Engine/Plugins/Importers/USDImporter/Source/GeometryCacheUSD/Public/GeometryCacheTrackUSD.h |
| Include | #include "GeometryCacheTrackUSD.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, BlueprintType, Config=Engine)
class UGeometryCacheTrackUsd : public UGeometryCacheTrack
Remarks
GeometryCacheTrack for querying USD
Variables
| Type | Name | Description | |
|---|---|---|---|
| UE::FUsdStage | CurrentStagePinned | ||
| UE::FUsdStageWeak | CurrentStageWeak | ||
| int32 | EndFrameIndex | ||
| double | FramesPerSecond | ||
| FString | PrimPath | ||
| FString | StageRootLayerPath | ||
| int32 | StartFrameIndex |
Constructors
No constructors are accessible with public or protected access.
Functions
| Type | Name | Description | |
|---|---|---|---|
| const int32 | FindSampleIndexFromTime
(
const float Time, |
||
| void | GetFractionalFrameIndexFromTime
(
const float Time, |
||
| bool | GetMeshData
(
int32 SampleIndex, |
||
| const FGeometryCacheTrackSampleInfo & | GetSampleInfo
(
int32 SampleIndex |
GetSampleInfo version that avoids converting time to index. Prefer this version when the index is already available. | |
| float | GetTimeFromSampleIndex
(
int32 SampleIndex |
||
| void | |||
| void | Initialize
(
const UE::FUsdStage& InStage, |
||
| bool | LoadUsdStage () |
Upgrades our CurrentStageWeak into CurrentStagePinned, or re-opens the stage if its stale. | |
| void | |||
| void | Discards our CurrentStagePinned to release the stage. | ||
| void |
Overridden from UGeometryCacheTrack
| Type | Name | Description | |
|---|---|---|---|
| bool | GetMeshDataAtSampleIndex
(
int32 SampleIndex, |
Get the mesh data for the specified sample index | |
| bool | GetMeshDataAtTime
(
float Time, |
Get the mesh data for the specified time | |
| const FGeometryCacheTrackSampleInfo & | GetSampleInfo
(
float Time, |
Get the info for the sample displayed at the given time. | |
| const bool | UpdateBoundsData
(
const float Time, |
UpdateBoundsData | |
| const bool | UpdateMeshData
(
const float Time, |
UpdateMeshData* | |
| void | UpdateTime
(
float Time, |
Update the current time of the track |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific). |