Click or drag to resize
AB4D logo

WpfOptimizedModel3DGroupNode Properties

The WpfOptimizedModel3DGroupNode type exposes the following members.

Properties
 NameDescription
Public propertyAutomaticallyClearWpfObjectsAfterInitialization Gets or sets a Boolean that specifies if all WPF objects will be cleaned (calling ClearWpfObjects method) when the DirectX objects are initialized (created from WPF objects). This can free a lot of memory for GC. Default value is false.
Public propertyCombineModelsWithSameMaterial Gets or sets a boolean that specifies if models with the same materials (same diffuse color and specular properties) are combined and rendered with one Draw call. If false the mesh geometries for all models are still combined into one vertex and index buffer, but each model is rendered with its own material and with its own Draw call. This is useful when the material of the objects is changed.
Public propertyDXMultiMeshGeometry3D Gets the DXMultiMeshGeometry3D that is created to render front face materials.
Public propertyDXMultiMeshGeometry3DWithBackMaterials Gets the DXMultiMeshGeometry3D that is created to render back face materials.
Public propertyIsCastingShadow Gets or sets a Boolean that specifies if this SceneNode is casing shadow. This means that if IsCastingShadow is true, then 3D objects rendered with this SceneNode will create shadow; if false shadow will not be created. Default value is true.
Public propertyIsReceivingShadow Gets or sets a Boolean that specifies if this SceneNode can receive shadow - this means that the shadow is rendered on the object(s) rendered by this SceneNode. Default value is true.
Public propertyMaterialEffect Gets or sets the Effect that will render this WpfGeometryModel3DNode. If null, a standard effect will be used (effect set in EffectsManager as standard effect)
Public propertyModel3DGroup Gets the WPF's Model3DGroup that is used to initialize this WpfOptimizedModel3DGroupNode
Top
See Also