Module |
|
Header |
/Engine/Plugins/Experimental/GeometryCache/Source/GeometryCache/Classes/GeometryCacheComponent.h |
Include |
#include "GeometryCacheComponent.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=(Rendering, Common), HideCategories=(Object, LOD),
Meta=(BlueprintSpawnableComponent), Experimental, ClassGroup=Experimental)
class UGeometryCacheComponent : public UMeshComponent
GeometryCacheComponent, encapsulates a GeometryCache asset instance and implements functionality for rendering/and playback of GeometryCaches
Name | Description | ||
---|---|---|---|
|
bExtrapolateFrames |
Enable frame extrapolation for sub-frame sampling of non-constant topologies with imported motion vectors |
|
|
bLooping |
||
|
bManualTick |
||
|
bRunning |
||
|
float |
Duration |
Duration of the animation (maximum time) |
|
float |
ElapsedTime |
|
|
UGeometryCache ... |
GeometryCache |
Geometry Cache instance referenced by the component |
|
LocalBounds |
Component local space bounds of geometry cache mesh |
|
|
float |
MotionVectorScale |
Scale factor to apply to the imported motion vectors |
|
NumTracks |
||
|
float |
PlaybackSpeed |
|
|
float |
PlayDirection |
Play (time) direction, either -1.0f or 1.0f |
|
float |
StartTimeOffset |
|
|
TrackSections |
Array containing the TrackData (used for rendering) for each individual track |
Name | Description | |
---|---|---|
|
UGeometryCacheComponent ( |
Name | Description | ||
---|---|---|---|
|
ClearTrackData() |
ClearTrackData Clean up data that was required for playback of geometry cache tracks |
|
|
CreateTrackSection ( |
CreateTrackSection, Create/replace a track section. |
|
|
float |
GetAnimationTime() |
Set the current animation time for GeometryCache. |
|
float |
GetDuration() |
Get the duration of the playback |
|
GetFrameAtTime ( |
Helper to get the frame of the ABC asset at this time |
|
|
UGeometryCac... |
GetGeometryCache() |
Getter for Geometry cache instance referred by the component |
|
GetManualTick() |
||
|
float |
GetMotionVectorScale() |
Get the motion vector scale. |
|
GetNumberOfFrames() |
Get the number of frames |
|
|
float |
GetPlaybackDirection() |
Set the current animation time for GeometryCache. |
|
float |
GetPlaybackSpeed() |
Get current playback speed for GeometryCache. |
|
float |
GetStartTimeOffset() |
Get current start time offset for GeometryCache. |
|
float |
GetTimeAtFrame ( |
Helper to get the time at this frame |
|
InvalidateTrackSampleIndices() |
Invalidate both the Matrix and Mesh sample indices |
|
|
IsExtrapolatingFrames() |
Get whether this GeometryCache is extrapolating frames. |
|
|
IsLooping() |
Get whether this GeometryCache is looping or not. |
|
|
IsPlaying() |
Get whether this GeometryCache is playing or not. |
|
|
IsPlayingReversed() |
Get whether this GeometryCache is playing in reverse or not. |
|
|
OnObjectReimported ( |
OnObjectReimported, Callback function to refresh section data and update scene proxy. |
|
|
Pause() |
Pause playback of GeometryCache |
|
|
Play() |
Start playback of GeometryCache |
|
|
PlayFromStart() |
Start playback of GeometryCache from the start |
|
|
PlayReversed() |
Start playback of GeometryCache in reverse |
|
|
PlayReversedFromEnd() |
Start playback of GeometryCache from the end and play in reverse |
|
|
ReleaseResources() |
ReleaseResources, clears and removes data stored/copied from GeometryCache instance |
|
|
ResetAnimationTime() |
||
|
SetExtrapolateFrames ( |
Set whether this GeometryCache is extrapolating frames. |
|
|
SetGeometryCache ( |
Change the Geometry Cache used by this instance. |
|
|
SetLooping ( |
Set whether this GeometryCache is looping or not. |
|
|
SetManualTick ( |
Functions to override the default TickComponent |
|
|
SetMotionVectorScale ( |
Set new motion vector scale. |
|
|
SetPlaybackSpeed ( |
Set new playback speed for GeometryCache. |
|
|
SetStartTimeOffset ( |
Set current start time offset for GeometryCache. |
|
|
SetupTrackData() |
SetupTrackData Call CreateTrackSection for all tracks in the GeometryCache assigned to this object. |
|
|
Stop() |
Stop playback of GeometryCache |
|
|
TickAtThisTime |
||
|
UpdateLocalBounds() |
Update LocalBounds member from the local box of each section |
|
|
UpdateTrackSection ( |
Updates the game thread state of a track section |
Name | Description | ||
---|---|---|---|
|
FPrimitiveSc... |
CreateSceneProxy() |
Creates a proxy to represent the primitive to the scene manager in the rendering thread. |
|
UMaterialInt... |
GetMaterial ( |
Returns the material used by the element at the specified index |
|
GetNumMaterials() |
Return number of material elements in this primitive |
Name | Description | ||
---|---|---|---|
|
FBoxSphereBo... |
CalcBounds ( |
Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size. |
Name | Description | ||
---|---|---|---|
|
OnRegister() |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. |
|
|
OnUnregister() |
Called when a component is unregistered. |
|
|
TickComponent ( |
Function called every frame on this ActorComponent. |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
|
|
FinishDestroy() |
Called to finish destroying the object. |
|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostEditUndo() |
Called after applying a transaction to the object. |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
PreEditUndo() |
Called before applying a transaction to the object. |