Click or drag to resize
AB4D logo

DXViewportView Fields

The DXViewportView type exposes the following members.

Fields
 NameDescription
Public fieldStatic memberDXViewportViewProperty DXViewportViewProperty - used on Viewport3D to set a WeakReference to the DXViewportView that is used to render the Viewport3D.
Public fieldStatic memberRootSceneNodeName RootSceneNodeName defines the name of the SceneNode that is set to RootNode property.
Public fieldStatic memberUseTwoSidedMaterialsForSolidObjects 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.
Public fieldStatic memberUseTwoSidedMaterialsForTransparentObjects 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 have 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 UseTwoSidedMaterialsForSolidObjects.
Public fieldStatic memberUseViewport3DCameraProperty UseViewport3DCameraProperty
Public fieldStatic memberViewport3DProperty Viewport3DProperty
Top
See Also