DefaultHandle.cs 682 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using BansheeEngine;
  2. namespace BansheeEditor
  3. {
  4. public abstract class DefaultHandle : Handle
  5. {
  6. protected Vector3 position;
  7. protected Quaternion rotation;
  8. public Vector3 Position
  9. {
  10. get { return position; }
  11. set { position = value; }
  12. }
  13. public Quaternion Rotation
  14. {
  15. get { return rotation; }
  16. set { rotation = value; }
  17. }
  18. internal void DoPreInput()
  19. {
  20. PreInput();
  21. }
  22. internal void DoPostInput()
  23. {
  24. PostInput();
  25. }
  26. internal void DoDraw()
  27. {
  28. Draw();
  29. }
  30. }
  31. }