Qt3DWindow Class

( Qt3DExtras::Qt3DWindow )
继承: QWindow

公共函数

Qt3DRender::QFrameGraphNode * activeFrameGraph () const
Qt3DExtras::QForwardRenderer * defaultFrameGraph () const
void registerAspect (Qt3DCore::QAbstractAspect * aspect )
void registerAspect (const QString & name )
Qt3DRender::QRenderSettings * renderSettings () const
void setActiveFrameGraph (Qt3DRender::QFrameGraphNode * activeFrameGraph )
void setRootEntity (Qt3DCore::QEntity * root )

重实现保护函数

virtual bool event (QEvent * e ) override
virtual void resizeEvent ( QResizeEvent * ) override
virtual void showEvent (QShowEvent * e ) override

成员函数文档编制

Qt3DRender::QFrameGraphNode *Qt3DWindow:: activeFrameGraph () const

Returns the node of the active frame graph.

另请参阅 setActiveFrameGraph ().

Qt3DExtras::QForwardRenderer *Qt3DWindow:: defaultFrameGraph () const

Returns the node of the default framegraph

[override virtual protected] bool Qt3DWindow:: event ( QEvent * e )

重实现自 QWindow::event ().

Requests renderer to redraw if we are using OnDemand render policy.

void Qt3DWindow:: registerAspect ( Qt3DCore::QAbstractAspect * aspect )

注册指定 aspect .

void Qt3DWindow:: registerAspect (const QString & name )

Registers the specified aspect name .

Qt3DRender::QRenderSettings *Qt3DWindow:: renderSettings () const

Returns the render settings of the 3D Window.

[override virtual protected] void Qt3DWindow:: resizeEvent ( QResizeEvent * )

重实现自 QWindow::resizeEvent ().

Resets the aspect ratio of the 3D window.

void Qt3DWindow:: setActiveFrameGraph ( Qt3DRender::QFrameGraphNode * activeFrameGraph )

Activates the specified activeFrameGraph .

另请参阅 activeFrameGraph ().

void Qt3DWindow:: setRootEntity ( Qt3DCore::QEntity * root )

设置指定 root entity of the scene.

[override virtual protected] void Qt3DWindow:: showEvent ( QShowEvent * e )

重实现自 QWindow::showEvent ().

Manages the display events specified in e .