If model is Model3DGroup or Light the same model is returned.
If model is GeometryModel3D and it has children (because of hierarchy there was a Model3DGroup created for it) than return the Model3DGroup.
If model is GeometryModel3D and has no children return model as GeometryModel3D.
Namespace:
Ab3dAssembly: Ab3d.Reader3ds (in Ab3d.Reader3ds)
Version: 4.2.0.0 (4.2.0.0)
Syntax
| C# |
|---|
public Model3D GetObjectOrItsGroup( Model3D model ) |
| Visual Basic (Declaration) |
|---|
Public Function GetObjectOrItsGroup ( _ model As Model3D _ ) As Model3D |
| Visual C++ |
|---|
public: Model3D^ GetObjectOrItsGroup( Model3D^ model ) |
Parameters
- model
- Type: System.Windows.Media.Media3D..::.Model3D
GeometryModel3D, Model3DGroup or Light