Click or drag to resize
AB4D logo

DXMeshGeometry3DGetVertexAndIndexBuffers Method

GetVertexAndIndexBuffers method gets vertex and index buffer array that are created from MeshGeometry3D. This method must be called after the DXMeshGeometry3D was initialized or the Update method was called. Otherwise the returned array will be null.

Namespace: Ab3d.DirectX.Models
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public void GetVertexAndIndexBuffers(
	out PositionNormalTexture[] vertexBufferArray,
	out int[] indicesArray
)

Parameters

vertexBufferArray  PositionNormalTexture
vertex buffer - array of PositionNormalTexture
indicesArray  Int32
index buffer - array of int values
See Also