141 public:
void Render(RenderSync *_renderSync,
170 const math::Vector2i &_dropPos);
181 private:
void HandleMouseEvent();
184 private:
void BroadcastHoverPos();
187 private:
void BroadcastDrag();
190 private:
void BroadcastLeftClick();
193 private:
void BroadcastRightClick();
196 private:
void BroadcastMousePress();
199 private:
void BroadcastScroll();
202 private:
void BroadcastKeyRelease();
205 private:
void BroadcastDrop();
208 private:
void BroadcastKeyPress();
217 public: math::Pose3d cameraPose = math::Pose3d(0, 0, 2, 0, 0.4, 0);
220 public:
double cameraNearClip = 0.01;
223 public:
double cameraFarClip = 1000.0;
226 public: math::Color backgroundColor = math::Color::Black;
229 public: math::Color ambientLight = math::Color(0.3f, 0.3f, 0.3f, 1.0f);
232 public:
bool initialized =
false;
238 public:
bool textureDirty =
true;
241 public:
bool skyEnable =
false;
247 public: math::Angle cameraHFOV = math::Angle(M_PI * 0.5);
258 GZ_UTILS_UNIQUE_IMPL_PTR(dataPtr)