Public Member Functions | |
virtual void MCCOMAPI | GetTreeElement (I3DShTreeElement **outTree)=0 |
virtual void MCCOMAPI | SetTreeElement (I3DShTreeElement *inTree)=0 |
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 :
virtual void MCCOMAPI I3DShTreeElementMember::GetTreeElement | ( | I3DShTreeElement ** | outTree | ) | [pure virtual] |
Returns a pointer to the tree element that owns this object.
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.
inTree | A pointer to the tree element that owns this object. |