Click or drag to resize
Ab4d.SharpEngine logo

SceneDumpUsedMaterials Method

Writes string that provides details about used materials to the console (when the application is debugged in Visual Studio the result is written to Output window or Immediate Window if started from there; in Rider the result is written to Debug Output window).

Namespace: Ab4d.SharpEngine
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public void DumpUsedMaterials(
	bool showMaterialDetails = true,
	bool showMaterialUsage = true,
	bool showFrontMaterials = true,
	bool showBackMaterials = true,
	bool orderByName = false
)

Parameters

showMaterialDetails  Boolean  (Optional)
when true (by default) details about each used material are shown
showMaterialUsage  Boolean  (Optional)
when true (by default) then SceneNodes that use each material are listed
showFrontMaterials  Boolean  (Optional)
when true (by default) then front side materials are shown
showBackMaterials  Boolean  (Optional)
when true (by default) then back side materials are shown
orderByName  Boolean  (Optional)
when true materials are ordered by name; when false (by default) materials are ordered by id

Return Value

string that provides details about used materials
See Also