Click or drag to resize
AB4D logo

ExtensionsIsDXAttributeSet(Material, DXAttributeType) Method

Returns true if the specified attributeType was set (result is true even if the value is null).

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

Parameters

material  Material
System.Windows.Media.Media3D.Material
attributeType  DXAttributeType
type of attribute as DXAttributeType

Return Value

Boolean
true if the specified attributeType was set

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