Click or drag to resize
AB4D logo

ExtentionsClearDXAttribute Method (Material, DXAttributeType)

Clears the value from DXAttributeType so that IsDXAttributeSet(Material, DXAttributeType) method returns false for that DXAttributeType.

Namespace:  Ab3d.DirectX
Assembly:  Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 4.2.7697.1045
Syntax
C#
public static void ClearDXAttribute(
	this Material material,
	DXAttributeType attributeType
)

Parameters

material
Type: System.Windows.Media.Media3DMaterial
System.Windows.Media.Media3D.Material
attributeType
Type: Ab3d.DirectXDXAttributeType
type of attribute as DXAttributeType

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Material. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also