简体   繁体   English

如何使用python打开硬件纹理?

[英]How to turn on Hardware texturing using python?

I know in MEL, to do this you have to do 我知道在MEL中,要执行此操作

modelEditor -e -displayTextures true modelPanel4;

What would I do in python to get the same exact result? 我将如何在python中获得相同的确切结果?

cmds.modelEditor('modelPanel4', e=True, displayTextures=True)

有关该命令的更多帮助,请访问: https : //download.autodesk.com/us/maya/2008help/CommandsPython/modelEditor.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM