Esri / file-geodatabase-api

FileGeodatabaseAPI_1.4 (1.4.0.183) The File Geodatabase C++ API for Windows, MacOS and Linux
Apache License 2.0
154 stars 60 forks source link

The function Setup() can not set texture and materials #36

Open Daimaolhc opened 3 years ago

Daimaolhc commented 3 years ago
i am trying to create a multipatch with texture and materials,i wont to set the num and Dimension of texture through the function public void Setup(ShapeType shapeType, int numParts, int numPoints, int numTextures, int textureDimension, int numMaterials, ulong materialsLength),but i found after  the method is executed,it is still 0.

image

I thought it over,There are two possibilities. one,the shapetype i seted dose not have any of the newer modifier bits,but i can not find any function to set th shapetype. two,the set function maybe have some problem.

This problem has been bothering me for a long time, and I really hope you can help me solve it!