Click or drag to resize
Ab4d.SharpEngine logo

SceneGetUsedMaterialsInfo Method

Returns a string that provides details about used materials

Namespace: Ab4d.SharpEngine
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public string GetUsedMaterialsInfo(
	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
string that provides details about used materials
See Also