美文网首页Maya开发
maya pymel设置顶点颜色并显示

maya pymel设置顶点颜色并显示

作者: MasterZhang | 来源:发表于2021-04-26 01:11 被阅读0次
    import pymel.core as pm
    
    sn =pm.selected()[0]
    vtx = sn.vtx
    v0=vtx[0]
    v0.setColor((1,0,0))
    vc = v0.getColor(0)
    print(vc)
    

    注意:要显示顶点颜色,需要在shape下开启显示


    相关文章

      网友评论

        本文标题:maya pymel设置顶点颜色并显示

        本文链接:https://www.haomeiwen.com/subject/glksrltx.html