Navigation
API > API/Plugins > API/Plugins/GeometryCache > API/Plugins/GeometryCache/FGeometryCacheConstantTopologyWr- > API/Plugins/GeometryCache/FGeometryCacheConstantTopologyWr-/FTrackWriter
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool WriteAndClose
(
TArrayView< TArray< FVector3f > > PositionsToMoveFrom |
Move the position data to the cache track and close the TrackWriter. | GeometryCacheConstantTopologyWriter.h | |
bool WriteAndClose
(
TArrayView< FFrameData > FramesToMoveFrom |
Move the frame data to the cache track and close the TrackWriter. | GeometryCacheConstantTopologyWriter.h | |
bool WriteAndClose
(
TArrayView< FFrameData > FramesToMoveFrom, |
Move the frame data to the cache track and close the TrackWriter. | GeometryCacheConstantTopologyWriter.h |
WriteAndClose(TArrayView< TArray< FVector3f > >)
Description
Move the position data to the cache track and close the TrackWriter. Once closed, the track will be added to the geometry cache and the TrackWriter cannot be used anymore.
| Name | WriteAndClose |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Public/GeometryCacheConstantTopologyWriter.h |
| Include Path | #include "GeometryCacheConstantTopologyWriter.h" |
| Source | /Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Private/GeometryCacheConstantTopologyWriter.cpp |
bool WriteAndClose
(
TArrayView < TArray < FVector3f > > PositionsToMoveFrom
)
true if successfully write data and close the track writer.
Parameters
| Name | Remarks |
|---|---|
| PositionsToMoveFrom | Array of positions to move from. The size of the array equals to the number of frames. The size of each array element equals to the number of vertices. The number of vertices must be the same for all frames. |
WriteAndClose(TArrayView< FFrameData >)
Description
Move the frame data to the cache track and close the TrackWriter. Similar to WriteAndClose(TArrayView
| Name | WriteAndClose |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Public/GeometryCacheConstantTopologyWriter.h |
| Include Path | #include "GeometryCacheConstantTopologyWriter.h" |
| Source | /Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Private/GeometryCacheConstantTopologyWriter.cpp |
bool WriteAndClose
(
TArrayView < FFrameData > FramesToMoveFrom
)
WriteAndClose(TArrayView< FFrameData >, const TArray< FVisibilitySample > &)
Description
Move the frame data to the cache track and close the TrackWriter. Similar to WriteAndClose(TArrayView
| Name | WriteAndClose |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Public/GeometryCacheConstantTopologyWriter.h |
| Include Path | #include "GeometryCacheConstantTopologyWriter.h" |
| Source | /Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Private/GeometryCacheConstantTopologyWriter.cpp |
bool WriteAndClose
(
TArrayView < FFrameData > FramesToMoveFrom,
const TArray < FVisibilitySample > & VisibilitySamples
)