Exemplo n.º 1
0
 public TriMesh(TriMesh arg0) : this(VixenLibPINVOKE.new_TriMesh__SWIG_5(TriMesh.getCPtr(arg0)), true)
 {
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
        public static bool Block(TriMesh mesh, Vec3 size)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_Block(TriMesh.getCPtr(mesh), Vec3.getCPtr(size));

            if (VixenLibPINVOKE.SWIGPendingException.Pending)
            {
                throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 3
0
        public static bool Ellipsoid(TriMesh mesh, Vec3 size, int res)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_Ellipsoid(TriMesh.getCPtr(mesh), Vec3.getCPtr(size), res);

            if (VixenLibPINVOKE.SWIGPendingException.Pending)
            {
                throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
        public static bool QuadMesh(TriMesh mesh, int rows, int cols, float INPUT, long firstvtx)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_QuadMesh(TriMesh.getCPtr(mesh), rows, cols, INPUT, firstvtx);

            return(ret);
        }
Exemplo n.º 5
0
        public static bool Rect(TriMesh mesh)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_Rect__SWIG_4(TriMesh.getCPtr(mesh));

            return(ret);
        }
Exemplo n.º 6
0
        public static bool Rect(TriMesh mesh, float w, float h)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_Rect__SWIG_2(TriMesh.getCPtr(mesh), w, h);

            return(ret);
        }
Exemplo n.º 7
0
        public static bool Rect(TriMesh mesh, float w, float h, float xtex, float ytex)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_Rect__SWIG_0(TriMesh.getCPtr(mesh), w, h, xtex, ytex);

            return(ret);
        }
Exemplo n.º 8
0
        public static bool IcosaSphere(TriMesh mesh, float fRadius, int depth, bool hemi)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_IcosaSphere(TriMesh.getCPtr(mesh), fRadius, depth, hemi);

            return(ret);
        }
Exemplo n.º 9
0
        public static bool Cylinder(TriMesh mesh, int parts, float tradius, float bradius, float height, int res)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_Cylinder(TriMesh.getCPtr(mesh), parts, tradius, bradius, height, res);

            return(ret);
        }
Exemplo n.º 10
0
        public static bool Torus(TriMesh mesh, float irad, float orad, int res)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_Torus(TriMesh.getCPtr(mesh), irad, orad, res);

            return(ret);
        }