@LeafRegion.h 1.1 KB

12345678910111213141516171819202122232425
  1. /******************************************************************************/
  2. /******************************************************************************/
  3. class LeafRegion : Region
  4. {
  5. TextWhite ts;
  6. Text leaf_attachment;
  7. ImageSkin texture;
  8. Button remove_attachment, set_attachment_cam, random_bending, same_random_bending, remove_bending, random_color, remove_color;
  9. TextLine color_value;
  10. static void RemoveAttachment(LeafRegion &leaf);
  11. static void RemoveBending (LeafRegion &leaf);
  12. static void RemoveColor (LeafRegion &leaf);
  13. static void SetAttachmentCam(LeafRegion &leaf);
  14. static void RandomBending(LeafRegion &leaf);
  15. static void SameRandomBending(LeafRegion &leaf);
  16. static void RandomColor(LeafRegion &leaf);
  17. bool meshHasMtrl(C MaterialPtr &mtrl);
  18. LeafRegion& create();
  19. virtual void update(C GuiPC &gpc)override;
  20. };
  21. /******************************************************************************/
  22. /******************************************************************************/
  23. /******************************************************************************/