View3D.pkg 572 B

12345678910111213141516171819202122
  1. $#include "View3D.h"
  2. class View3D : public Window
  3. {
  4. View3D(Context* context);
  5. ~View3D();
  6. void SetView(Scene* scene, Camera* camera);
  7. void SetFormat(unsigned format);
  8. void SetAutoUpdate(bool enable);
  9. void QueueUpdate();
  10. unsigned GetFormat() const;
  11. bool GetAutoUpdate() const;
  12. Scene* GetScene() const;
  13. Node* GetCameraNode() const;
  14. Texture2D* GetRenderTexture() const;
  15. Viewport* GetViewport() const;
  16. tolua_property__get_set unsigned format;
  17. tolua_property__get_set bool autoUpdate;
  18. };