getVisible() method for more classes
- Moohasha
- Gnoll
- Posts: 672
- Joined: Fri Dec 07, 2007 7:37 pm
- x 8
getVisible() method for more classes
The API documents several classes that have setVisible() methods, but only MoveableObjects have a getVisible() method. Why the disconnect?
Black holes are where God divided by 0
- sinbad
- OGRE Retired Team Member

- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 67
- Contact:
- Moohasha
- Gnoll
- Posts: 672
- Joined: Fri Dec 07, 2007 7:37 pm
- x 8
I figured that was the case for SceneNodes, but why not also have a shortcut for calling getVisible() or all attached objectes? I understand you could have some that are visible and some that are not, so maybe return true iff all children are visible, else return false?
Black holes are where God divided by 0
- sinbad
- OGRE Retired Team Member

- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 67
- Contact:
I think that's more confusing than not providing it at all.Moohasha wrote:I figured that was the case for SceneNodes, but why not also have a shortcut for calling getVisible() or all attached objectes? I understand you could have some that are visible and some that are not, so maybe return true iff all children are visible, else return false?
