Click or drag to resize
AB4D logo

WpfOptimizedModel3DGroupNodeCombineModelsWithSameMaterial Property

Gets or sets a boolean that specifies if models with the same materials (same diffuse color and specular properties) are combined and rendered with one Draw call. If false the mesh geometries for all models are still combined into one vertex and index buffer, but each model is rendered with its own material and with its own Draw call. This is useful when the material of the objects is changed.

Namespace: Ab3d.DirectX.Models
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax
C#
public bool CombineModelsWithSameMaterial { get; set; }

Property Value

Boolean
See Also