Click or drag to resize
AB4D logo

DXViewportViewUseTwoSidedMaterialsForSolidObjects Field

Gets or sets a static Boolean that specifies if TwoSided material is used in case when Material and BackMaterial in GeometryModel3D are the same object and when they do not have any transparency. Two sided material has an advantage because the two sided material needs to be rendered only once. In case when TwoSided material is not used and Material and BackMaterial are the same then the object needs to be rendered twice - once for front material and once for back material. This value must be set before the WPF objects are converted into DXEngine SceneNodes. Default value is true. The value can be set to false to create the same number of RenderablePrimitive objects as in the version before v4.5. When rendering transparent objects the results can be different when using two sided material. See also UseTwoSidedMaterialsForTransparentObjects.

Namespace: Ab3d.DirectX.Controls
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax
C#
public static bool UseTwoSidedMaterialsForSolidObjects

Field Value

Boolean
See Also