Skip to content

classHTreeObject 03

Member Function Documentation

static void HTreeObject::DeleteHandle HTreeObject handle  )  [static]
  Referenced by HSpline::operator delete().

void HTreeObject::ExpandInProjectBar BOOL  expand  ) 
 

HTreeObject * HTreeObject::FindChildByName char *  matchname  ) 
 

Returns a pointer to an object in the PWS tree whose name match the passed argument. Usefull for finding a specific object or folder.

Once an object is returned, its actual type may be retrieved with GetObjectType

Examples:

hac->FindChildByName("Splines");
hac->FindChildByName("Bones");
hac->FindChildByName("Untitled");
See also:
HTreeObject::GetObjectType

HTreeObject* HTreeObject::FindChildByTreeName char *  treename  ) 
 

HAnimObject* HTreeObject::GetAnimObject  ) 
  Reimplemented in HAnimObjectShortcut.

HAnimObject * HTreeObject::GetAnimObjectNotProperty  ) 
 

You can call GetAnimObjectNotProperty to get the actual object that the shader is on. The object returned by GetAnimObjectNotProperty should be either the HModelCache, HGroup, or a HCameraCache.

It is safe to cast the HAnimObject returned to an HHashObject, or the prefered way, to an HTreeObject in ordet to call its GetObjectType().

String HTreeObject::GetFileName  ) 
  Reimplemented in HBufferShortcut, and HFileInfoProperty.

String HTreeObject::GetFullName  ) 
 

String HTreeObject::GetMatchName  ) 
 

ObjectType HTreeObject::GetObjectType  ) 
 

Returns the object type

See also:

ObjectType for the complete list of ObjectType tags and their values.

HTreeObject::GetObjectType()

Reimplemented in HHashObject, and HShading.

HTreeObject * HTreeObject::GetParent  ) 
  Skips user containers, and doesn't include classes not derived off HashObject (CPs)

HProperty* HTreeObject::GetPropertyAt int  i  ) 
 

BOOL HTreeObject::GetTempBit  ) 
 

HTreeObject * HTreeObject::GetTreeParent UINT  skip = SKIPINVISIBLE|SKIPFILTERED  ) 
  Along with GetTreeProgeny and GetTreeSibling These 3 functions allow to walk the complete tree hierarchy and skip possible objects based on paramatwers passed in.

HTreeObject * HTreeObject::GetTreeProgeny UINT  skip = SKIPINVISIBLE|SKIPFILTERED  ) 
  Along with GetTreeParent and GetTreeSibling These 3 functions allow to walk the complete tree hierarchy and skip possible objects based on paramatwers passed in.

HTreeObject * HTreeObject::GetTreeSibling UINT  skip = SKIPINVISIBLE|SKIPFILTERED  )