This method of the Direct3dRMObject Class retrieves the name of the object's class.
public String getClassName();
Returns the name of the class.