Esempio n. 1
0
        bool SetTexture(Rhino.DocObjects.Texture texture, Rhino.DocObjects.TextureType which, bool front)
        {
            IntPtr pMaterial = NonConstMaterialPointer(front);
            IntPtr pTexture  = texture.ConstPointer();

            return(UnsafeNativeMethods.ON_Material_SetTexture(pMaterial, pTexture, (int)which));
        }