Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Daimaolhc opened this issue Jan 7, 2021 · 0 comments
Open

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

Daimaolhc opened this issue Jan 7, 2021 · 0 comments

Comments

@Daimaolhc
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant