Navigation
API > API/Plugins > API/Plugins/GeometryCache > API/Plugins/GeometryCache/FGeometryCacheConstantTopologyWr- > API/Plugins/GeometryCache/FGeometryCacheConstantTopologyWr-/FTrackWriter > API/Plugins/GeometryCache/FGeometryCacheConstantTopologyWr-/FTrackWriter/WriteAndClose
References
| Module | GeometryCache |
| Header | /Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Public/GeometryCacheConstantTopologyWriter.h |
| Include | #include "GeometryCacheConstantTopologyWriter.h" |
| Source | /Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Private/GeometryCacheConstantTopologyWriter.cpp |
bool WriteAndClose
&40;
TArrayView< TArray< FVector3f >> PositionsToMoveFrom
&41;
Remarks
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. true if successfully write data and close the track writer.
Parameters
| Name | Description |
|---|---|
| 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. |