| FGeomCacheTrackProxy
|
Module |
|
Header |
/Engine/Plugins/Experimental/GeometryCache/Source/GeometryCache/Public/GeometryCacheSceneProxy.h |
Include |
#include "GeometryCacheSceneProxy.h" |
class FGeomCacheTrackProxy
This the track proxy has some "double double buffering" going on. First we keep two mesh frames. The one just before the current time and the one just after the current time. This is the full mesh and we interpolate between it to derive the actual mesh for the exact time we're at. Secondly we have two position buffers. The one for the current rendered frame and the one from the previous rendered frame (this is not the same as the mesh frame, the mesh may be at say 10 fps then get interpolated to 60 fps rendered frames)
Name | Description | ||
---|---|---|---|
|
ColorBuffer |
||
|
CurrentPositionBufferIndex |
||
|
FrameIndex |
Frame numbers corresponding to MeshData, NextFrameMeshData |
|
|
IndexBuffer |
Index buffer for this Track |
|
|
float |
InterpolationFactor |
|
|
Materials |
Material applied to this Track |
|
|
MeshData |
MeshData storing information used for rendering this Track |
|
|
NextFrameIndex |
||
|
NextFrameMeshData |
||
|
uint32[2] |
PositionBufferFrameIndices |
|
|
float[2] |
PositionBufferFrameTimes |
|
|
PositionBuffers |
Vertex buffers for this Track. |
|
|
TangentXBuffer |
||
|
TangentZBuffer |
||
|
TextureCoordinatesBuffer |
||
|
Track |
The GeometryCacheTrack to which the proxy is associated |
|
|
UploadedSampleIndex |
||
|
VertexFactory |
Vertex factory for this Track |
|
|
WorldMatrix |
World Matrix for this Track |
Name | Description | |
---|---|---|
|
FGeomCacheTrackProxy ( |
Name | Description | |
---|---|---|
|
~FGeomCacheTrackProxy() |
Name | Description | ||
---|---|---|---|
|
FindSampleIndexesFromTime |
Find the two frames closest to the given time InterpolationFactor gives the position of the requested time slot between the two returned frames. |
|
|
GetMeshData ( |
Get the MeshData for a given SampleIndex |
|
|
const FVisib... |
GetVisibilitySample ( |
Get the VisibilitySample for a given time |
|
IsTopologyCompatible |
Check if the topology of two given SampleIndexes are compatible (ie. same topology) |
|
|
UpdateMeshData ( |
Update the SampleIndex and MeshData for a given time |