Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Rendering > API/Runtime/Engine/Rendering/FStaticMeshVertexBuffer > API/Runtime/Engine/Rendering/FStaticMeshVertexBuffer/Init
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Rendering/StaticMeshVertexBuffer.h |
| Include | #include "Rendering/StaticMeshVertexBuffer.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Rendering/StaticMeshVertexBuffer.cpp |
void Init
(
const TArray < FStaticMeshBuildVertex > & InVertices,
uint32 InNumTexCoords,
const FStaticMeshVertexBufferFlags & InInitFlags
)
Remarks
Initializes the buffer with the given vertices. Initializes the buffer with the given vertices.
Parameters
| Name | Description |
|---|---|
| InVertices | The vertices to initialize the buffer with. |
| InNumTexCoords | The number of texture coordinate to store in the buffer. |
| Flags | Options for Init ; FStaticMeshVertexBufferFlags can be default constructed for default options |
| InVertices | The vertices to initialize the buffer with. |
| InNumTexCoords | The number of texture coordinate to store in the buffer. |