GUIWidget::GUIWidget(const HCamera& camera) : mCamera(camera->_getCamera()), mPanel(nullptr), mDepth(0), mIsActive(true), mTransform(Matrix4::IDENTITY) , mCachedRTId(0), mWidgetIsDirty(false) { construct(mCamera); }
GUIWidget::GUIWidget(const HCamera& camera) : mCamera(camera->_getCamera()), mPanel(nullptr), mDepth(0), mIsActive(true), mPosition(BsZero) , mRotation(BsIdentity), mScale(Vector3::ONE), mTransform(BsIdentity), mCachedRTId(0), mWidgetIsDirty(false) { construct(mCamera); }