 |
ExtentionsGetDXAttribute Method (Model3D, DXAttributeType) |
Namespace:
Ab3d.DirectX
Assembly:
Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 4.2.7697.1045
Syntaxpublic static Object GetDXAttribute(
this Model3D model3D,
DXAttributeType attributeType
)
Parameters
- model3D
- Type: System.Windows.Media.Media3DModel3D
Model3D - attributeType
- Type: Ab3d.DirectXDXAttributeType
type of attribute as DXAttributeType
Return Value
Type:
Objectvalue of the specified attributeType
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Model3D. 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).
ExceptionsException | Condition |
---|
DXAttributeType | DXAttributeType is thrown if the attributeType was not set. |
See Also