| Name | Description |
---|
| CenterAndScaleModel3D |
CenterAndScaleModel3D method translates and scales the model3D so that its center is at the centerPosition and that it will fit into the Size3D defined by finalSize.
|
| CenterModel3D |
CenterModel3D method translates the model3D so that its center is at the centerPosition.
|
| ChangeBackMaterial |
ChangeBackMaterial method changes only BackMaterial on all child models of the specified model (Material property is preserved).
|
| ChangeMaterial(Model3D, Material, Material) |
ChangeMaterial method changes Material and BackMaterial on all child models of the specified model.
|
| ChangeMaterial(ModelVisual3D, Material, Material) |
ChangeMaterial method changes Material and BackMaterial on all child models of the specified model.
|
| CombineTransform |
CombineTransform combines the parent and child Transform3D and returns a new Transform3D or null if the combined transform is null or Identity.
The method can accept any parent or child transform (including null).
|
| CopyModel |
CopyModel returns a new Model3D that is a copy of the originalModel.
The copied model contains new Model3DGroup, GeometryModel3D and new Light objects. But the models have the same materials and MeshGeometry3D objects.
|
| FlipNormals |
Flips normals in all MeshGeometry3D that are defined under rootModel3D.
|
| GetBounds(IListVisual3D, Transform3D, Boolean) |
GetSceneBounds calculates the bounds of all 3D objects in the rootVisuals after the specified Transform3D has been applied to all positions or all mesh bounds.
|
| GetBounds(Model3D, Transform3D, Boolean) |
GetSceneBounds calculates the bounds of the rootModel3D with checking all positions (when checkOnlyBounds is false) or all mesh bounds (when checkOnlyBounds is true).
|
| GetBounds(ModelVisual3D, Transform3D, Boolean) |
GetSceneBounds calculates the bounds of all 3D objects in the rootModelVisual3D after the specified Transform3D has been applied to all positions or all mesh bounds.
|
| GetMaterialDiffuseColor |
Returns the color of the SolidColorBrush in the first DiffuseMaterial
|
| GetModelTranslationVector3D |
GetModelTranslationVector3D returns a Vector3D that defines how much the model with modelBounds needs to be translated in order to be positioned at a targetPosition that represents a targetPositionType.
|
| GetPositionedAndScaledModelTransform3D |
GetPositionedAndScaledModelTransform3D method returns a Transform3DGroup that translates and scales the model3D so that it is positioned according to position and positionType parameters
and that it will fit into the Size3D defined by finalSize parameter.
|
| HasAnyLight(Model3D, Boolean) |
Returns true if the Model3D has any light defined. By default the AmbientLight is excluded.
|
| HasAnyLight(Viewport3D, Boolean) |
Returns true if the Viewport3D has any light defined. By default the AmbientLight is excluded.
|
| HasAnyLight(Visual3D, Boolean) |
Returns true if the Visual3D has any light defined. By default the AmbientLight is excluded.
|
| PositionAndScaleModel3D |
PositionAndScaleModel3D method translates and scales the model3D so that it is positioned according to position and positionType parameters
and that it will fit into the Size3D defined by finalSize parameter.
|
| PositionModel3D |
PositionModel3D method translates the model3D so that it is positioned according to position and positionType parameters.
|
| ReplaceMaterial |
Goes through all models and replaces the materialToFind with newMaterial.
When isBackMaterial is set to true, BackMaterial is replaced instead of Material.
|
| ScaleModel3D |
ScaleModel3D method scales the model3D so that it will fit into the Size3D defined by finalSize.
|
| SetMaterialOpacity(Material, Double, Boolean, Boolean) |
Sets the opacity (or alpha color) of the specified material.
The material that is set as argument must not be frozen (it mush be cloned before sending to this method). Inner materials or brushes can be frozen - they will be cloned in this method when preserveFrozenMaterial is false.
|
| SetMaterialOpacity(Model3D, Double, Boolean, Boolean) |
Goes through all models in the models hierarchy and sets the opacity (or alpha color) in all materials to the specified opacity.
|