# I3DShTreeElementMember Struct Reference
[Shell Interfaces]

Inheritance diagram for I3DShTreeElementMember:

List of all members.

## Public Member Functions
virtual void MCCOMAPI | GetTreeElement (I3DShTreeElement **outTree)=0
virtual void MCCOMAPI | SetTreeElement (I3DShTreeElement *inTree)=0

## Detailed Description

This interface can be used to get to the Tree Element for extensions that are attached to a Tree Element, but are not a Tree Element. For example, a Light Source may need to get to its Tree Element, or even just to its I3DShLightsource shell interface. Unfortunately, its "Controlling Unknown" is NOT the Tree Element, it is a IComponentAnim that is a member of the I3DShLightsource / I3DShTreeElement object. So it will never reply to a QueryInterface(IID_I3DShTreeElement).

Use this interface in this situation.

This interface is supported by :

- Cameras (I3DExCamera)
- Light Sources (I3DExLightsource)
- Gels (I3DExLightsourceGel)
- Modifiers (I3DExModifier)
- Contraints (I3DExConstraint)
- Data Components (I3DExDataComponent)
- Shadow Features (I3DExShadowFeature)
- Reflection Features (I3DExReflectionFeature)
- Refraction Features (I3DExRefractionFeature)

## Member Function Documentation

virtual void MCCOMAPI I3DShTreeElementMember::GetTreeElement | ( | I3DShTreeElement ** | outTree | ) | `[pure virtual]`

Returns a pointer to the tree element that owns this object.

Parameters:

  | outTree | A pointer to the tree element that owns this object.

virtual void MCCOMAPI I3DShTreeElementMember::SetTreeElement | ( | I3DShTreeElement * | inTree | ) | `[pure virtual]`

Set the tree element that owns this object. WARNING: this function should not be used. The tree element is set by the application.

Parameters:

  | inTree | A pointer to the tree element that owns this object.

The documentation for this struct was generated from the following file:

- I3dShTreeElement.h