|
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.DirectXAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax 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
Color4Color4 that is get from the material's color
See Also