Click or drag to resize
AB4D logo

Extentions Methods

The Extentions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberClearDXAttribute(Geometry3D, DXAttributeType)
Clears the value from DXAttributeType so that IsDXAttributeSet(Geometry3D, DXAttributeType) method returns false for that DXAttributeType.
Public methodStatic memberClearDXAttribute(Material, DXAttributeType)
Clears the value from DXAttributeType so that IsDXAttributeSet(Material, DXAttributeType) method returns false for that DXAttributeType.
Public methodStatic memberClearDXAttribute(Model3D, DXAttributeType)
Clears the value from DXAttributeType so that IsDXAttributeSet(Model3D, DXAttributeType) method returns false for that DXAttributeType.
Public methodStatic memberClearDXAttribute(Visual3D, DXAttributeType)
Clears the value from DXAttributeType so that IsDXAttributeSet(Visual3D, DXAttributeType) method returns false for that DXAttributeType.
Public methodStatic memberClearUsedDXMaterial
Clears a cached DXEngine's Material that is used for the WPF material. This means that next time the WPF material will be used a new instance of DXEngine's Material will be created.
Public methodStatic memberGetDXAttribute(Geometry3D, DXAttributeType)
Public methodStatic memberGetDXAttribute(Material, DXAttributeType)
Public methodStatic memberGetDXAttribute(Model3D, DXAttributeType)
Public methodStatic memberGetDXAttribute(Visual3D, DXAttributeType)
Public methodStatic memberGetDXAttributeCollection(Geometry3D)
Gets a DXAttributeCollection will a collection of all DXEngine's attributes set to the specified WPF's object. Returns null when no DXAttributeCollection was attached to the WPF object.
Public methodStatic memberGetDXAttributeCollection(Material)
Gets a DXAttributeCollection will a collection of all DXEngine's attributes set to the specified WPF's object. Returns null when no DXAttributeCollection was attached to the WPF object.
Public methodStatic memberGetDXAttributeCollection(Model3D)
Gets a DXAttributeCollection will a collection of all DXEngine's attributes set to the specified WPF's object. Returns null when no DXAttributeCollection was attached to the WPF object.
Public methodStatic memberGetDXAttributeCollection(Visual3D)
Gets a DXAttributeCollection will a collection of all DXEngine's attributes set to the specified WPF's object. Returns null when no DXAttributeCollection was attached to the WPF object.
Public methodStatic memberGetDXAttributeOrDefaultT(Geometry3D, DXAttributeType)
Gets the value of the specified DXAttributeType from the specified Geometry3D. If the attributeType does not exists then a default value for the type T is returned.
Public methodStatic memberGetDXAttributeOrDefaultT(Material, DXAttributeType)
Gets the value of the specified DXAttributeType from the specified System.Windows.Media.Media3D.Material. If the attributeType does not exists then a default value for the type T is returned.
Public methodStatic memberGetDXAttributeOrDefaultT(Model3D, DXAttributeType)
Gets the value of the specified DXAttributeType from the specified Model3D. If the attributeType does not exists then a default value for the type T is returned.
Public methodStatic memberGetDXAttributeOrDefaultT(Visual3D, DXAttributeType)
Gets the value of the specified DXAttributeType from the specified Visual3D. If the attributeType does not exists then a default value for the type T is returned.
Public methodStatic memberGetDXAttributeOrDefaultT(Geometry3D, DXAttributeType, T)
Gets the value of the specified DXAttributeType from the specified Geometry3D. If the attributeType does not exists then the specified defaultValue is returned.
Public methodStatic memberGetDXAttributeOrDefaultT(Material, DXAttributeType, T)
Gets the value of the specified DXAttributeType from the specified System.Windows.Media.Media3D.Material. If the attributeType does not exists then the specified defaultValue is returned.
Public methodStatic memberGetDXAttributeOrDefaultT(Model3D, DXAttributeType, T)
Gets the value of the specified DXAttributeType from the specified Model3D. If the attributeType does not exists then the specified defaultValue is returned.
Public methodStatic memberGetDXAttributeOrDefaultT(Visual3D, DXAttributeType, T)
Gets the value of the specified DXAttributeType from the specified Visual3D. If the attributeType does not exists then the specified defaultValue is returned.
Public methodStatic memberGetGeometryModel3D
Returns a WPF's GeometryModel3D that was used to create the specified sceneNode. If the sceneNode does not define a GeometryModel3D object, then null is returned.
Public methodStatic memberGetModel3D
Returns a WPF's Model3D that was used to create the specified sceneNode. If the sceneNode does not define a Model3D object, then null is returned.
Public methodStatic memberGetModelVisual3D
Returns a WPF's ModelVisual3D that was used to create the specified sceneNode or any parent SceneNode (in case searchParentSceneNodes is true). If a SceneNode that defines a ModelVisual3D is not found, then null is returned.
Public methodStatic memberGetUsedDXMaterial
GetUsedDXMaterial method returns a DXEngine's Material that was created from the WPF material (or null if no DXMaterial was created for the WPF material) parentDXDevice is requireed to check if the created DXMeshGeometry3D was created for the same device.
Public methodStatic memberGetUsedDXMeshGeometry3D
GetUsedDXMeshGeometry3D method checks if DXMeshGeometry3D object was already created for the specified meshGeometry and returns it in that case. Else null is returned. parentDXDevice is requireed to check if the created DXMeshGeometry3D was created for the same device.
Public methodStatic memberGetVisual3D
Returns a WPF's Visual3D that was used to create the specified sceneNode or any parent SceneNode (in case searchParentSceneNodes is true). If a SceneNode that defines a Visual3D is not found, then null is returned.
Public methodStatic memberIsDXAttributeSet(Geometry3D, DXAttributeType)
Returns true if the specified attributeType was set (result is true even if the value is null).
Public methodStatic memberIsDXAttributeSet(Material, DXAttributeType)
Returns true if the specified attributeType was set (result is true even if the value is null).
Public methodStatic memberIsDXAttributeSet(Model3D, DXAttributeType)
Returns true if the specified attributeType was set (result is true even if the value is null).
Public methodStatic memberIsDXAttributeSet(Visual3D, DXAttributeType)
Returns true if the specified attributeType was set (result is true even if the value is null).
Public methodStatic memberSetDXAttribute(Geometry3D, DXAttributeType, Object)
Annotates the specified wpfObject with adding or updating a DXEngine's attribute to it. The attribute is specified with attributeType and its value. This can be used to annotate WPF's objects with DXEngine's attributes.
Public methodStatic memberSetDXAttribute(Material, DXAttributeType, Object)
Annotates the specified wpfObject with adding or updating a DXEngine's attribute to it. The attribute is specified with attributeType and its value. This can be used to annotate WPF's objects with DXEngine's attributes.
Public methodStatic memberSetDXAttribute(Model3D, DXAttributeType, Object)
Annotates the specified wpfObject with adding or updating a DXEngine's attribute to it. The attribute is specified with attributeType and its value. This can be used to annotate WPF's objects with DXEngine's attributes.
Public methodStatic memberSetDXAttribute(Visual3D, DXAttributeType, Object)
Annotates the specified wpfObject with adding or updating a DXEngine's attribute to it. The attribute is specified with attributeType and its value. This can be used to annotate WPF's objects with DXEngine's attributes.
Public methodStatic memberSetUsedDXMaterial(Material, Material)
Sets the specified DXEngine's Material (dxMaterial) to be used when rendering the specified WPF material (wpfMaterial). It will be used when the WPF material will be shown in DXEngine (must be set before the objects are initialized in DXEngine).
Public methodStatic memberSetUsedDXMaterial(Material, Material, DXDevice) Obsolete.
Sets the specified DXEngine's Material (dxMaterial) to be used when rendering the specified WPF material (wpfMaterial). It will be used when the WPF material will be shown in DXEngine (must be set before the objects are initialized in DXEngine).
Public methodStatic memberSetUsedDXMeshGeometry3D
Sets a DXMeshGeometry3D that will be used when showing WPF MeshGeometry3D in DXEngine.
Public methodStatic memberToBoundingBox
Converts WPF Rect3D to SharpDX BoundingBox
Public methodStatic memberToColor3
Converts WPF Color to SharpDX Color3
Public methodStatic memberToColor4
Converts WPF Color to SharpDX Color4
Public methodStatic memberToDXEngineBounds
Converts SharpDX BoundingBox to DXEngine's Bounds object
Public methodStatic memberToDXTransform
Converts WPF Transform to DXEngine Transformation
Public methodStatic memberToMatrix
Converts WPF Matrix3D to SharpDX Matrix
Public methodStatic memberToPremultipliedColor3(Color)
Converts WPF Color to premultipled SharpDX Color3 (premultipled color is color where R, G and B color values are multiplied with alpha value)
Public methodStatic memberToPremultipliedColor3(Color, Single)
Converts WPF Color to premultipled SharpDX Color3 (premultipled color is color where R, G and B color values are multiplied with alpha value)
Public methodStatic memberToPremultipliedColor4
Converts WPF Color to premultipled SharpDX Color4 (premultipled color is color where R, G and B color values are multiplied with alpha value)
Public methodStatic memberToRect3D(BoundingBox)
Converts SharpDX BoundingBox to WPF Rect3D
Public methodStatic memberToRect3D(Bounds)
Converts DXEngine's Bounds object to WPF Rect3D
Public methodStatic memberToVector3(Point3D)
Converts WPF Point3D to SharpDX Vector3
Public methodStatic memberToVector3(Vector3D)
Converts WPF Vector3D to SharpDX Vector3
Public methodStatic memberToWpfColor(Color3)
Converts SharpDX Color3 to WPF color
Public methodStatic memberToWpfColor(Color4)
Converts SharpDX Color4 to WPF color
Public methodStatic memberToWpfMatrix3D
Converts SharpDX Matrix to WPF Matrix3D
Public methodStatic memberToWpfPoint3D
Converts SharpDX Vector3 to WPF Point3D
Public methodStatic memberToWpfVector3D
Converts SharpDX Vector3 to WPF Vector3D
Public methodStatic memberUpdate
Updates the DXEngine's Transformation to the value of WPF Transform3D
Public methodStatic memberUpdateDXBounds(Bounds, Rect3D)
Checks if wpfBounds is not the same as dxBounds and in this case updates the values in dxBounds
Public methodStatic memberUpdateDXBounds(Bounds, Rect3D)
Checks if wpfBounds is not the same as dxBounds and in this case updates the values in dxBounds
Top
See Also