Applays the newTransformation to the modelToApplyTransformtion.
If the model already has the same type of transformation than this transformation is replaced with the new one.
If this type of transformation is not already applied to the models than the transformation is added to model's Transform3DGroup
Namespace:
Ab3dAssembly: Ab3d.Reader3ds (in Ab3d.Reader3ds)
Version: 4.2.0.0 (4.2.0.0)
Syntax
| C# |
|---|
public void ApplyTransformation( Model3D modelToApplyTransformtion, Transform3D newTransformation ) |
| Visual Basic (Declaration) |
|---|
Public Sub ApplyTransformation ( _ modelToApplyTransformtion As Model3D, _ newTransformation As Transform3D _ ) |
| Visual C++ |
|---|
public: void ApplyTransformation( Model3D^ modelToApplyTransformtion, Transform3D^ newTransformation ) |
Parameters
- modelToApplyTransformtion
- Type: System.Windows.Media.Media3D..::.Model3D
modelToApplyTransformtion
- newTransformation
- Type: System.Windows.Media.Media3D..::.Transform3D
newTransformation