Click or drag to resize
AB4D logo

DXWireframeHelperGetMaterialColor(Material, Color4) Method

Returns Color4 that is get from the material's color. If the color cannot be get from material, than default color is returned.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public static Color4 GetMaterialColor(
	Material material,
	Color4 defaultColor
)

Parameters

material  Material
material
defaultColor  Color4
default color used when color cannot be determined from material

Return Value

Color4
Color4 that is get from the material's color
See Also