Exemple #1
0
                    public static MeshTemplateGeometryFactory FromBaseObject(BaseObject baseObj)
                    {
                        if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                        {
                            return(null);
                        }
                        MeshTemplateGeometryFactory obj = baseObj as  MeshTemplateGeometryFactory;

                        if (object.Equals(obj, null))
                        {
                            obj = new MeshTemplateGeometryFactory(CreatedWhenConstruct.CWC_NotToCreate);
                            obj.BindNativeObject(baseObj.NativeObject, "CMeshTemplateGeometryFactory");
                            obj.IncreaseCast();
                        }

                        return(obj);
                    }
Exemple #2
0
                    public BaseObject Create()
                    {
                        MeshTemplateGeometryFactory emptyInstance = new MeshTemplateGeometryFactory(CreatedWhenConstruct.CWC_NotToCreate);

                        return(emptyInstance);
                    }