[−][src]Struct qt_3d_extras::Qt3DWindow
C++ class: Qt3DExtras::Qt3DWindow
.
Methods
impl Qt3DWindow
[src]
pub unsafe fn active_frame_graph(&self) -> QPtr<QFrameGraphNode>
[src]
See also setActiveFrameGraph().
Calls C++ function: Qt3DRender::QFrameGraphNode* Qt3DExtras::Qt3DWindow::activeFrameGraph() const
.
See also setActiveFrameGraph().
pub unsafe fn camera(&self) -> QPtr<QCamera>
[src]
Calls C++ function: Qt3DRender::QCamera* Qt3DExtras::Qt3DWindow::camera() const
.
pub unsafe fn default_frame_graph(&self) -> QPtr<QForwardRenderer>
[src]
Returns the node of the default framegraph
Calls C++ function: Qt3DExtras::QForwardRenderer* Qt3DExtras::Qt3DWindow::defaultFrameGraph() const
.
Returns the node of the default framegraph
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DExtras::Qt3DWindow::metaObject() const
.
pub unsafe fn new_1a(screen: impl CastInto<Ptr<QScreen>>) -> QBox<Qt3DWindow>
[src]
Default constructs an instance of Qt3DWindow.
Calls C++ function: [constructor] void Qt3DExtras::Qt3DWindow::Qt3DWindow(QScreen* screen = …)
.
Default constructs an instance of Qt3DWindow.
pub unsafe fn new_0a() -> QBox<Qt3DWindow>
[src]
Calls C++ function: [constructor] void Qt3DExtras::Qt3DWindow::Qt3DWindow()
.
pub unsafe fn qt_metacall(
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
[src]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
Calls C++ function: virtual int Qt3DExtras::Qt3DWindow::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void
[src]
Calls C++ function: virtual void* Qt3DExtras::Qt3DWindow::qt_metacast(const char* arg1)
.
pub unsafe fn register_aspect_q_abstract_aspect(
&self,
aspect: impl CastInto<Ptr<QAbstractAspect>>
)
[src]
&self,
aspect: impl CastInto<Ptr<QAbstractAspect>>
)
Registers the specified aspect.
Calls C++ function: void Qt3DExtras::Qt3DWindow::registerAspect(Qt3DCore::QAbstractAspect* aspect)
.
Registers the specified aspect.
pub unsafe fn register_aspect_q_string(&self, name: impl CastInto<Ref<QString>>)
[src]
Registers the specified aspect name.
Calls C++ function: void Qt3DExtras::Qt3DWindow::registerAspect(const QString& name)
.
Registers the specified aspect name.
pub unsafe fn render_settings(&self) -> QPtr<QRenderSettings>
[src]
Returns the render settings of the 3D Window.
Calls C++ function: Qt3DRender::QRenderSettings* Qt3DExtras::Qt3DWindow::renderSettings() const
.
Returns the render settings of the 3D Window.
pub unsafe fn set_active_frame_graph(
&self,
active_frame_graph: impl CastInto<Ptr<QFrameGraphNode>>
)
[src]
&self,
active_frame_graph: impl CastInto<Ptr<QFrameGraphNode>>
)
See also activeFrameGraph().
Calls C++ function: void Qt3DExtras::Qt3DWindow::setActiveFrameGraph(Qt3DRender::QFrameGraphNode* activeFrameGraph)
.
See also activeFrameGraph().
pub unsafe fn set_root_entity(&self, root: impl CastInto<Ptr<QEntity>>)
[src]
Sets the specified root entity of the scene.
Calls C++ function: void Qt3DExtras::Qt3DWindow::setRootEntity(Qt3DCore::QEntity* root)
.
Sets the specified root entity of the scene.
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
pub unsafe fn tr(
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
[src]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DExtras::Qt3DWindow::tr(const char* s, const char* c, int n)
.
pub unsafe fn tr_utf8(
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
[src]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DExtras::Qt3DWindow::trUtf8(const char* s, const char* c, int n)
.
Trait Implementations
impl CppDeletable for Qt3DWindow
[src]
unsafe fn delete(&self)
[src]
Destroys the instance of Qt3DWindow.
Calls C++ function: virtual [destructor] void Qt3DExtras::Qt3DWindow::~Qt3DWindow()
.
Destroys the instance of Qt3DWindow.
impl Deref for Qt3DWindow
[src]
type Target = QWindow
The resulting type after dereferencing.
fn deref(&self) -> &QWindow
[src]
Calls C++ function: QWindow* static_cast<QWindow*>(Qt3DExtras::Qt3DWindow* ptr)
.
impl DynamicCast<Qt3DWindow> for QWindow
[src]
unsafe fn dynamic_cast(ptr: Ptr<QWindow>) -> Ptr<Qt3DWindow>
[src]
Calls C++ function: Qt3DExtras::Qt3DWindow* dynamic_cast<Qt3DExtras::Qt3DWindow*>(QWindow* ptr)
.
impl DynamicCast<Qt3DWindow> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<Qt3DWindow>
[src]
Calls C++ function: Qt3DExtras::Qt3DWindow* dynamic_cast<Qt3DExtras::Qt3DWindow*>(QObject* ptr)
.
impl DynamicCast<Qt3DWindow> for QSurface
[src]
unsafe fn dynamic_cast(ptr: Ptr<QSurface>) -> Ptr<Qt3DWindow>
[src]
Calls C++ function: Qt3DExtras::Qt3DWindow* dynamic_cast<Qt3DExtras::Qt3DWindow*>(QSurface* ptr)
.
impl StaticDowncast<Qt3DWindow> for QWindow
[src]
unsafe fn static_downcast(ptr: Ptr<QWindow>) -> Ptr<Qt3DWindow>
[src]
Calls C++ function: Qt3DExtras::Qt3DWindow* static_cast<Qt3DExtras::Qt3DWindow*>(QWindow* ptr)
.
impl StaticDowncast<Qt3DWindow> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<Qt3DWindow>
[src]
Calls C++ function: Qt3DExtras::Qt3DWindow* static_cast<Qt3DExtras::Qt3DWindow*>(QObject* ptr)
.
impl StaticDowncast<Qt3DWindow> for QSurface
[src]
unsafe fn static_downcast(ptr: Ptr<QSurface>) -> Ptr<Qt3DWindow>
[src]
Calls C++ function: Qt3DExtras::Qt3DWindow* static_cast<Qt3DExtras::Qt3DWindow*>(QSurface* ptr)
.
impl StaticUpcast<QObject> for Qt3DWindow
[src]
unsafe fn static_upcast(ptr: Ptr<Qt3DWindow>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::Qt3DWindow* ptr)
.
impl StaticUpcast<QSurface> for Qt3DWindow
[src]
unsafe fn static_upcast(ptr: Ptr<Qt3DWindow>) -> Ptr<QSurface>
[src]
Calls C++ function: QSurface* static_cast<QSurface*>(Qt3DExtras::Qt3DWindow* ptr)
.
impl StaticUpcast<QWindow> for Qt3DWindow
[src]
unsafe fn static_upcast(ptr: Ptr<Qt3DWindow>) -> Ptr<QWindow>
[src]
Calls C++ function: QWindow* static_cast<QWindow*>(Qt3DExtras::Qt3DWindow* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for Qt3DWindow
impl Send for Qt3DWindow
impl Sync for Qt3DWindow
impl Unpin for Qt3DWindow
impl UnwindSafe for Qt3DWindow
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,