Click or drag to resize
AB4D logo

WpfMeshGeometry3DConverterFillVertexBuffer Method

FillVertexBuffer methods fill the preallocated vertex buffer array (array of PositionNormalTexture structs) from the data defined in WPF's MeshGeometry3D

Namespace: Ab3d.DirectX.Models
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public static void FillVertexBuffer(
	PositionNormalTexture[] vertexBufferArray,
	MeshGeometry3D meshGeometry,
	bool calculateMissingNormals = true
)

Parameters

vertexBufferArray  PositionNormalTexture
array of PositionNormalTexture structs (must be already allocated)
meshGeometry  MeshGeometry3D
WPF's MeshGeometry3D
calculateMissingNormals  Boolean  (Optional)
true to calculate normals if they are not yet defined
See Also