public MaterialPtr getMaterial() { MaterialPtr ret = new MaterialPtr(OgreOverlayPINVOKE.Font_getMaterial__SWIG_0(swigCPtr), false); if (OgreOverlayPINVOKE.SWIGPendingException.Pending) { throw OgreOverlayPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }