Gets the parent Model3DGroup of the NamedObject. If the objectName is already a Model3DGroup than the same object is returned, else the parent group is returned. Used when you get a GeometryModel3D from Reader3ds's NamedObjects and would like to apply a transformation to the GeometryModel3D and all its child objects.

Namespace:  Ab3d
Assembly:  Ab3d.Reader3ds (in Ab3d.Reader3ds)
Version: 4.2.0.0 (4.2.0.0)

Syntax

C#
public Model3DGroup GetParentGroup(
	string objectName
)
Visual Basic (Declaration)
Public Function GetParentGroup ( _
	objectName As String _
) As Model3DGroup
Visual C++
public:
Model3DGroup^ GetParentGroup(
	String^ objectName
)

Parameters

objectName
Type: System..::.String
objectName from NamedObjects for which a parent Model3DGroup should be returned

Return Value

parent Model3DGroup of modelToFind

See Also