/** Sets a mask which is bitwise 'and'ed with objects own visibility masks
to determine if the object is visible.
@remarks
Note that this is combined with any per-viewport visibility mask
through an 'and' operation. @see Viewport::setVisibilityMask
*/
virtual void setVisibilityMask(uint32 vmask) { mVisibilityMask = vmask; }

=========================================
/** Sets the visiblity flags for this object.
@remarks
As well as a simple true/false value for visibility 
(as seen in setVisible),
you can also set visiblity flags which when 'and'ed
with the SceneManager's
visibility mask can also make an object invisible.
*/
virtual void setVisibilityFlags(uint32 flags) { mVisibilityFlags = flags; }

相关文章:

  • 2021-12-17
  • 2021-09-13
  • 2021-06-04
  • 2021-08-25
  • 2021-12-08
  • 2021-12-10
  • 2022-12-23
  • 2021-10-06
猜你喜欢
  • 2021-06-06
  • 2021-10-04
  • 2021-10-27
  • 2021-07-19
  • 2021-05-24
  • 2021-04-27
  • 2021-05-28
相关资源
相似解决方案