public static SymbolToMaterial FromBaseObject(BaseObject baseObj) { if (baseObj == null || baseObj.NativeObject == IntPtr.Zero) { return(null); } SymbolToMaterial obj = baseObj as SymbolToMaterial; if (object.Equals(obj, null)) { obj = new SymbolToMaterial(CreatedWhenConstruct.CWC_NotToCreate); obj.BindNativeObject(baseObj.NativeObject, "CSymbolToMaterial"); obj.IncreaseCast(); } return(obj); }
public BaseObject Create() { SymbolToMaterial emptyInstance = new SymbolToMaterial(CreatedWhenConstruct.CWC_NotToCreate); return(emptyInstance); }