[−][src]Struct qt_3d_render::QCameraSelector
Class to allow for selection of camera to be used
C++ class: Qt3DRender::QCameraSelector
.
Class to allow for selection of camera to be used
A Qt3DRender::QCameraSelector can be used to select the camera, which is used by the FrameGraph when drawing the entities.
Methods
impl QCameraSelector
[src]
pub fn slot_set_camera(&self) -> Receiver<(*mut QEntity,)>
[src]
Holds the currently selected camera.
Returns a built-in Qt slot Qt3DRender::QCameraSelector::setCamera
that can be passed to qt_core::Signal::connect
.
Holds the currently selected camera.
Access functions:
Qt3DCore::QEntity * | camera() const |
void | setCamera(Qt3DCore::QEntity *camera) |
Notifier signal:
void | cameraChanged(Qt3DCore::QEntity *camera) |
pub fn camera_changed(&self) -> Signal<(*mut QEntity,)>
[src]
Holds the currently selected camera.
Returns a built-in Qt signal Qt3DRender::QCameraSelector::cameraChanged
that can be passed to qt_core::Signal::connect
.
Holds the currently selected camera.
Access functions:
Qt3DCore::QEntity * | camera() const |
void | setCamera(Qt3DCore::QEntity *camera) |
Notifier signal:
void | cameraChanged(Qt3DCore::QEntity *camera) |
pub unsafe fn camera(&self) -> QPtr<QEntity>
[src]
Holds the currently selected camera.
Calls C++ function: Qt3DCore::QEntity* Qt3DRender::QCameraSelector::camera() const
.
Holds the currently selected camera.
Access functions:
Qt3DCore::QEntity * | camera() const |
void | setCamera(Qt3DCore::QEntity *camera) |
Notifier signal:
void | cameraChanged(Qt3DCore::QEntity *camera) |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DRender::QCameraSelector::metaObject() const
.
pub unsafe fn new_1a(parent: impl CastInto<Ptr<QNode>>) -> QBox<QCameraSelector>
[src]
The constructor creates an instance with the specified parent.
Calls C++ function: [constructor] void Qt3DRender::QCameraSelector::QCameraSelector(Qt3DCore::QNode* parent = …)
.
The constructor creates an instance with the specified parent.
pub unsafe fn new_0a() -> QBox<QCameraSelector>
[src]
Class to allow for selection of camera to be used
Calls C++ function: [constructor] void Qt3DRender::QCameraSelector::QCameraSelector()
.
Class to allow for selection of camera to be used
A Qt3DRender::QCameraSelector can be used to select the camera, which is used by the FrameGraph when drawing the entities.
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 Qt3DRender::QCameraSelector::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* Qt3DRender::QCameraSelector::qt_metacast(const char* arg1)
.
pub unsafe fn set_camera(&self, camera: impl CastInto<Ptr<QEntity>>)
[src]
Holds the currently selected camera.
Calls C++ function: [slot] void Qt3DRender::QCameraSelector::setCamera(Qt3DCore::QEntity* camera)
.
Holds the currently selected camera.
Access functions:
Qt3DCore::QEntity * | camera() const |
void | setCamera(Qt3DCore::QEntity *camera) |
Notifier signal:
void | cameraChanged(Qt3DCore::QEntity *camera) |
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 Qt3DRender::QCameraSelector::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 Qt3DRender::QCameraSelector::trUtf8(const char* s, const char* c, int n)
.
Methods from Deref<Target = QFrameGraphNode>
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DRender::QFrameGraphNode::metaObject() const
.
pub unsafe fn parent_frame_graph_node(&self) -> QPtr<QFrameGraphNode>
[src]
Returns a pointer to the parent.
Calls C++ function: Qt3DRender::QFrameGraphNode* Qt3DRender::QFrameGraphNode::parentFrameGraphNode() const
.
Returns a pointer to the parent.
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 Qt3DRender::QFrameGraphNode::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* Qt3DRender::QFrameGraphNode::qt_metacast(const char* arg1)
.
Trait Implementations
impl CppDeletable for QCameraSelector
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: virtual [destructor] void Qt3DRender::QCameraSelector::~QCameraSelector()
.
impl Deref for QCameraSelector
[src]
type Target = QFrameGraphNode
The resulting type after dereferencing.
fn deref(&self) -> &QFrameGraphNode
[src]
Calls C++ function: Qt3DRender::QFrameGraphNode* static_cast<Qt3DRender::QFrameGraphNode*>(Qt3DRender::QCameraSelector* ptr)
.
impl DynamicCast<QCameraSelector> for QFrameGraphNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QFrameGraphNode>) -> Ptr<QCameraSelector>
[src]
Calls C++ function: Qt3DRender::QCameraSelector* dynamic_cast<Qt3DRender::QCameraSelector*>(Qt3DRender::QFrameGraphNode* ptr)
.
impl DynamicCast<QCameraSelector> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QCameraSelector>
[src]
Calls C++ function: Qt3DRender::QCameraSelector* dynamic_cast<Qt3DRender::QCameraSelector*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QCameraSelector> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QCameraSelector>
[src]
Calls C++ function: Qt3DRender::QCameraSelector* dynamic_cast<Qt3DRender::QCameraSelector*>(QObject* ptr)
.
impl StaticDowncast<QCameraSelector> for QFrameGraphNode
[src]
unsafe fn static_downcast(ptr: Ptr<QFrameGraphNode>) -> Ptr<QCameraSelector>
[src]
Calls C++ function: Qt3DRender::QCameraSelector* static_cast<Qt3DRender::QCameraSelector*>(Qt3DRender::QFrameGraphNode* ptr)
.
impl StaticDowncast<QCameraSelector> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QCameraSelector>
[src]
Calls C++ function: Qt3DRender::QCameraSelector* static_cast<Qt3DRender::QCameraSelector*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QCameraSelector> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QCameraSelector>
[src]
Calls C++ function: Qt3DRender::QCameraSelector* static_cast<Qt3DRender::QCameraSelector*>(QObject* ptr)
.
impl StaticUpcast<QFrameGraphNode> for QCameraSelector
[src]
unsafe fn static_upcast(ptr: Ptr<QCameraSelector>) -> Ptr<QFrameGraphNode>
[src]
Calls C++ function: Qt3DRender::QFrameGraphNode* static_cast<Qt3DRender::QFrameGraphNode*>(Qt3DRender::QCameraSelector* ptr)
.
impl StaticUpcast<QNode> for QCameraSelector
[src]
unsafe fn static_upcast(ptr: Ptr<QCameraSelector>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QCameraSelector* ptr)
.
impl StaticUpcast<QObject> for QCameraSelector
[src]
unsafe fn static_upcast(ptr: Ptr<QCameraSelector>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QCameraSelector* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QCameraSelector
impl Send for QCameraSelector
impl Sync for QCameraSelector
impl Unpin for QCameraSelector
impl UnwindSafe for QCameraSelector
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>,