[2.1]how to hide SubItem?

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


Post Reply
renyingzhi1006043
Gnoblar
Posts: 23
Joined: Wed May 03, 2017 4:12 am

[2.1]how to hide SubItem?

Post by renyingzhi1006043 »

SubItem cant setVisible,how to hide SubItem?
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5296
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1278
Contact:

Re: [2.1]how to hide SubItem?

Post by dark_sylinc »

IIRC it was never possible to hide sub elements from a MovableObject.

You could try temporarily removing those SubItems from MovableObject::mRenderables and then putting them back in the right order after rendering, but I don't know how well that would work.

Another option could be to split the meshes in two...
Post Reply