[−][src]Struct qt_3d_render::QCameraLens
Qt3DRender::QCameraLens specifies the projection matrix that will be used to define a Camera for a 3D scene.
C++ class: Qt3DRender::QCameraLens
.
Qt3DRender::QCameraLens specifies the projection matrix that will be used to define a Camera for a 3D scene.
Methods
impl QCameraLens
[src]
pub fn slot_set_projection_type(&self) -> Receiver<(ProjectionType,)>
[src]
Sets the lens' projection type projectionType.
Returns a built-in Qt slot Qt3DRender::QCameraLens::setProjectionType
that can be passed to qt_core::Signal::connect
.
Sets the lens' projection type projectionType.
Note: Qt3DRender::QCameraLens::Frustum and Qt3DRender::QCameraLens::PerspectiveProjection are two different ways of specifying the same projection.
Note: Setter function for property projectionType.
See also projectionType().
pub fn slot_set_near_plane(&self) -> Receiver<(c_float,)>
[src]
Sets the projection's near plane to nearPlane. This triggers a projection matrix update.
Returns a built-in Qt slot Qt3DRender::QCameraLens::setNearPlane
that can be passed to qt_core::Signal::connect
.
pub fn slot_set_far_plane(&self) -> Receiver<(c_float,)>
[src]
Sets the projection's far plane to farPlane. This triggers a projection matrix update.
Returns a built-in Qt slot Qt3DRender::QCameraLens::setFarPlane
that can be passed to qt_core::Signal::connect
.
pub fn slot_set_field_of_view(&self) -> Receiver<(c_float,)>
[src]
Sets the projection's field of view to fieldOfView degrees. This triggers a projection matrix update.
Returns a built-in Qt slot Qt3DRender::QCameraLens::setFieldOfView
that can be passed to qt_core::Signal::connect
.
Sets the projection's field of view to fieldOfView degrees. This triggers a projection matrix update.
Note: this has no effect if the projection type is not Qt3DRender::QCameraLens::PerspectiveProjection.
Note: Setter function for property fieldOfView.
See also fieldOfView().
pub fn slot_set_aspect_ratio(&self) -> Receiver<(c_float,)>
[src]
Sets the projection's aspect ratio to aspectRatio. This triggers a projection matrix update.
Returns a built-in Qt slot Qt3DRender::QCameraLens::setAspectRatio
that can be passed to qt_core::Signal::connect
.
Sets the projection's aspect ratio to aspectRatio. This triggers a projection matrix update.
Note: this has no effect if the projection type is not Qt3DRender::QCameraLens::PerspectiveProjection.
Note: Setter function for property aspectRatio.
See also aspectRatio().
pub fn slot_set_left(&self) -> Receiver<(c_float,)>
[src]
Sets the projection's lower left window coordinate to left. This triggers a projection matrix update.
Returns a built-in Qt slot Qt3DRender::QCameraLens::setLeft
that can be passed to qt_core::Signal::connect
.
Sets the projection's lower left window coordinate to left. This triggers a projection matrix update.
Note: this has no effect if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Note: Setter function for property left.
See also left().
pub fn slot_set_right(&self) -> Receiver<(c_float,)>
[src]
Sets the projection's upper right window coordinate to right. This triggers a projection matrix update.
Returns a built-in Qt slot Qt3DRender::QCameraLens::setRight
that can be passed to qt_core::Signal::connect
.
Sets the projection's upper right window coordinate to right. This triggers a projection matrix update.
Note: this has no effect if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Note: Setter function for property right.
See also right().
pub fn slot_set_bottom(&self) -> Receiver<(c_float,)>
[src]
Sets the projection's bottom window coordinate to bottom. This triggers a projection matrix update.
Returns a built-in Qt slot Qt3DRender::QCameraLens::setBottom
that can be passed to qt_core::Signal::connect
.
Sets the projection's bottom window coordinate to bottom. This triggers a projection matrix update.
Note: this has no effect if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Note: Setter function for property bottom.
See also bottom().
pub fn slot_set_top(&self) -> Receiver<(c_float,)>
[src]
Sets the projection's top window coordinate to top. This triggers a projection matrix update.
Returns a built-in Qt slot Qt3DRender::QCameraLens::setTop
that can be passed to qt_core::Signal::connect
.
Sets the projection's top window coordinate to top. This triggers a projection matrix update.
Note: this has no effect if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Note: Setter function for property top.
See also top().
pub fn slot_set_projection_matrix(&self) -> Receiver<(*const QMatrix4X4,)>
[src]
Sets the project matrix to projectionMatrix.
Returns a built-in Qt slot Qt3DRender::QCameraLens::setProjectionMatrix
that can be passed to qt_core::Signal::connect
.
Sets the project matrix to projectionMatrix.
Note: This will set the projection type to Qt3DRender::QCameraLens::CustomProjection and thus ignore all other camera parameters that might have been specified.
Note: Setter function for property projectionMatrix.
See also projectionMatrix().
pub fn slot_set_exposure(&self) -> Receiver<(c_float,)>
[src]
Sets the camera lens' exposure
Returns a built-in Qt slot Qt3DRender::QCameraLens::setExposure
that can be passed to qt_core::Signal::connect
.
pub fn projection_type_changed(&self) -> Signal<(ProjectionType,)>
[src]
Holds the type of the camera projection.
Returns a built-in Qt signal Qt3DRender::QCameraLens::projectionTypeChanged
that can be passed to qt_core::Signal::connect
.
Holds the type of the camera projection.
Access functions:
ProjectionType | projectionType() const |
void | setProjectionType(ProjectionType projectionType) |
Notifier signal:
void | projectionTypeChanged(QCameraLens::ProjectionType projectionType) |
See also Qt3DRender::QCameraLens::ProjectionType.
pub fn near_plane_changed(&self) -> Signal<(c_float,)>
[src]
Holds the current near plane of the camera lens.
Returns a built-in Qt signal Qt3DRender::QCameraLens::nearPlaneChanged
that can be passed to qt_core::Signal::connect
.
Holds the current near plane of the camera lens.
Access functions:
float | nearPlane() const |
void | setNearPlane(float nearPlane) |
Notifier signal:
void | nearPlaneChanged(float nearPlane) |
pub fn far_plane_changed(&self) -> Signal<(c_float,)>
[src]
Holds the current near plane of the camera lens.
Returns a built-in Qt signal Qt3DRender::QCameraLens::farPlaneChanged
that can be passed to qt_core::Signal::connect
.
Holds the current near plane of the camera lens.
Access functions:
float | farPlane() const |
void | setFarPlane(float farPlane) |
Notifier signal:
void | farPlaneChanged(float farPlane) |
pub fn field_of_view_changed(&self) -> Signal<(c_float,)>
[src]
Holds the current field of view of the camera lens.
Returns a built-in Qt signal Qt3DRender::QCameraLens::fieldOfViewChanged
that can be passed to qt_core::Signal::connect
.
Holds the current field of view of the camera lens.
Note: : The return value may be undefined if the projection type is not Qt3DRender::QCameraLens::PerspectiveProjection.
Access functions:
float | fieldOfView() const |
void | setFieldOfView(float fieldOfView) |
Notifier signal:
void | fieldOfViewChanged(float fieldOfView) |
pub fn aspect_ratio_changed(&self) -> Signal<(c_float,)>
[src]
Holds the current aspect ratio of the camera lens.
Returns a built-in Qt signal Qt3DRender::QCameraLens::aspectRatioChanged
that can be passed to qt_core::Signal::connect
.
Holds the current aspect ratio of the camera lens.
Note: : The return value may be undefined if the projection type is not Qt3DRender::QCameraLens::PerspectiveProjection.
Access functions:
float | aspectRatio() const |
void | setAspectRatio(float aspectRatio) |
Notifier signal:
void | aspectRatioChanged(float aspectRatio) |
pub fn left_changed(&self) -> Signal<(c_float,)>
[src]
Holds the current left plane of the camera lens.
Returns a built-in Qt signal Qt3DRender::QCameraLens::leftChanged
that can be passed to qt_core::Signal::connect
.
Holds the current left plane of the camera lens.
Note: The return value may be undefined if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Access functions:
float | left() const |
void | setLeft(float left) |
Notifier signal:
void | leftChanged(float left) |
pub fn right_changed(&self) -> Signal<(c_float,)>
[src]
Holds the current right plane of the camera lens.
Returns a built-in Qt signal Qt3DRender::QCameraLens::rightChanged
that can be passed to qt_core::Signal::connect
.
Holds the current right plane of the camera lens.
Note: The return value may be undefined if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Access functions:
float | right() const |
void | setRight(float right) |
Notifier signal:
void | rightChanged(float right) |
pub fn bottom_changed(&self) -> Signal<(c_float,)>
[src]
Holds the current bottom plane of the camera lens.
Returns a built-in Qt signal Qt3DRender::QCameraLens::bottomChanged
that can be passed to qt_core::Signal::connect
.
Holds the current bottom plane of the camera lens.
Note: The return value may be undefined if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Access functions:
float | bottom() const |
void | setBottom(float bottom) |
Notifier signal:
void | bottomChanged(float bottom) |
pub fn top_changed(&self) -> Signal<(c_float,)>
[src]
Holds the current top plane of the camera lens.
Returns a built-in Qt signal Qt3DRender::QCameraLens::topChanged
that can be passed to qt_core::Signal::connect
.
Holds the current top plane of the camera lens.
Note: The return value may be undefined if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Access functions:
float | top() const |
void | setTop(float top) |
Notifier signal:
void | topChanged(float top) |
pub fn projection_matrix_changed(&self) -> Signal<(*const QMatrix4X4,)>
[src]
Holds the current projection matrix of the camera lens.
Returns a built-in Qt signal Qt3DRender::QCameraLens::projectionMatrixChanged
that can be passed to qt_core::Signal::connect
.
Holds the current projection matrix of the camera lens.
Access functions:
QMatrix4x4 | projectionMatrix() const |
void | setProjectionMatrix(const QMatrix4x4 &projectionMatrix) |
Notifier signal:
void | projectionMatrixChanged(const QMatrix4x4 &projectionMatrix) |
pub fn exposure_changed(&self) -> Signal<(c_float,)>
[src]
Holds the current exposure of the camera lens.
Returns a built-in Qt signal Qt3DRender::QCameraLens::exposureChanged
that can be passed to qt_core::Signal::connect
.
Holds the current exposure of the camera lens.
Access functions:
float | exposure() const |
void | setExposure(float exposure) |
Notifier signal:
void | exposureChanged(float exposure) |
pub unsafe fn aspect_ratio(&self) -> c_float
[src]
Holds the current aspect ratio of the camera lens.
Calls C++ function: float Qt3DRender::QCameraLens::aspectRatio() const
.
Holds the current aspect ratio of the camera lens.
Note: : The return value may be undefined if the projection type is not Qt3DRender::QCameraLens::PerspectiveProjection.
Access functions:
float | aspectRatio() const |
void | setAspectRatio(float aspectRatio) |
Notifier signal:
void | aspectRatioChanged(float aspectRatio) |
pub unsafe fn bottom(&self) -> c_float
[src]
Holds the current bottom plane of the camera lens.
Calls C++ function: float Qt3DRender::QCameraLens::bottom() const
.
Holds the current bottom plane of the camera lens.
Note: The return value may be undefined if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Access functions:
float | bottom() const |
void | setBottom(float bottom) |
Notifier signal:
void | bottomChanged(float bottom) |
pub unsafe fn exposure(&self) -> c_float
[src]
Holds the current exposure of the camera lens.
Calls C++ function: float Qt3DRender::QCameraLens::exposure() const
.
Holds the current exposure of the camera lens.
Access functions:
float | exposure() const |
void | setExposure(float exposure) |
Notifier signal:
void | exposureChanged(float exposure) |
pub unsafe fn far_plane(&self) -> c_float
[src]
Holds the current near plane of the camera lens.
Calls C++ function: float Qt3DRender::QCameraLens::farPlane() const
.
Holds the current near plane of the camera lens.
Access functions:
float | farPlane() const |
void | setFarPlane(float farPlane) |
Notifier signal:
void | farPlaneChanged(float farPlane) |
pub unsafe fn field_of_view(&self) -> c_float
[src]
Holds the current field of view of the camera lens.
Calls C++ function: float Qt3DRender::QCameraLens::fieldOfView() const
.
Holds the current field of view of the camera lens.
Note: : The return value may be undefined if the projection type is not Qt3DRender::QCameraLens::PerspectiveProjection.
Access functions:
float | fieldOfView() const |
void | setFieldOfView(float fieldOfView) |
Notifier signal:
void | fieldOfViewChanged(float fieldOfView) |
pub unsafe fn left(&self) -> c_float
[src]
Holds the current left plane of the camera lens.
Calls C++ function: float Qt3DRender::QCameraLens::left() const
.
Holds the current left plane of the camera lens.
Note: The return value may be undefined if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Access functions:
float | left() const |
void | setLeft(float left) |
Notifier signal:
void | leftChanged(float left) |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DRender::QCameraLens::metaObject() const
.
pub unsafe fn near_plane(&self) -> c_float
[src]
Holds the current near plane of the camera lens.
Calls C++ function: float Qt3DRender::QCameraLens::nearPlane() const
.
Holds the current near plane of the camera lens.
Access functions:
float | nearPlane() const |
void | setNearPlane(float nearPlane) |
Notifier signal:
void | nearPlaneChanged(float nearPlane) |
pub unsafe fn new_1a(parent: impl CastInto<Ptr<QNode>>) -> QBox<QCameraLens>
[src]
Constructs a QCameraLens with given parent
Calls C++ function: [constructor] void Qt3DRender::QCameraLens::QCameraLens(Qt3DCore::QNode* parent = …)
.
Constructs a QCameraLens with given parent
pub unsafe fn new_0a() -> QBox<QCameraLens>
[src]
Qt3DRender::QCameraLens specifies the projection matrix that will be used to define a Camera for a 3D scene.
Calls C++ function: [constructor] void Qt3DRender::QCameraLens::QCameraLens()
.
Qt3DRender::QCameraLens specifies the projection matrix that will be used to define a Camera for a 3D scene.
pub unsafe fn projection_matrix(&self) -> CppBox<QMatrix4X4>
[src]
Holds the current projection matrix of the camera lens.
Calls C++ function: QMatrix4x4 Qt3DRender::QCameraLens::projectionMatrix() const
.
Holds the current projection matrix of the camera lens.
Access functions:
QMatrix4x4 | projectionMatrix() const |
void | setProjectionMatrix(const QMatrix4x4 &projectionMatrix) |
Notifier signal:
void | projectionMatrixChanged(const QMatrix4x4 &projectionMatrix) |
pub unsafe fn projection_type(&self) -> ProjectionType
[src]
Holds the type of the camera projection.
Calls C++ function: Qt3DRender::QCameraLens::ProjectionType Qt3DRender::QCameraLens::projectionType() const
.
Holds the type of the camera projection.
Access functions:
ProjectionType | projectionType() const |
void | setProjectionType(ProjectionType projectionType) |
Notifier signal:
void | projectionTypeChanged(QCameraLens::ProjectionType projectionType) |
See also Qt3DRender::QCameraLens::ProjectionType.
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::QCameraLens::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::QCameraLens::qt_metacast(const char* arg1)
.
pub unsafe fn right(&self) -> c_float
[src]
Holds the current right plane of the camera lens.
Calls C++ function: float Qt3DRender::QCameraLens::right() const
.
Holds the current right plane of the camera lens.
Note: The return value may be undefined if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Access functions:
float | right() const |
void | setRight(float right) |
Notifier signal:
void | rightChanged(float right) |
pub unsafe fn set_aspect_ratio(&self, aspect_ratio: c_float)
[src]
Sets the projection's aspect ratio to aspectRatio. This triggers a projection matrix update.
Calls C++ function: [slot] void Qt3DRender::QCameraLens::setAspectRatio(float aspectRatio)
.
Sets the projection's aspect ratio to aspectRatio. This triggers a projection matrix update.
Note: this has no effect if the projection type is not Qt3DRender::QCameraLens::PerspectiveProjection.
Note: Setter function for property aspectRatio.
See also aspectRatio().
pub unsafe fn set_bottom(&self, bottom: c_float)
[src]
Sets the projection's bottom window coordinate to bottom. This triggers a projection matrix update.
Calls C++ function: [slot] void Qt3DRender::QCameraLens::setBottom(float bottom)
.
Sets the projection's bottom window coordinate to bottom. This triggers a projection matrix update.
Note: this has no effect if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Note: Setter function for property bottom.
See also bottom().
pub unsafe fn set_exposure(&self, exposure: c_float)
[src]
Sets the camera lens' exposure
Calls C++ function: [slot] void Qt3DRender::QCameraLens::setExposure(float exposure)
.
pub unsafe fn set_far_plane(&self, far_plane: c_float)
[src]
Sets the projection's far plane to farPlane. This triggers a projection matrix update.
Calls C++ function: [slot] void Qt3DRender::QCameraLens::setFarPlane(float farPlane)
.
pub unsafe fn set_field_of_view(&self, field_of_view: c_float)
[src]
Sets the projection's field of view to fieldOfView degrees. This triggers a projection matrix update.
Calls C++ function: [slot] void Qt3DRender::QCameraLens::setFieldOfView(float fieldOfView)
.
Sets the projection's field of view to fieldOfView degrees. This triggers a projection matrix update.
Note: this has no effect if the projection type is not Qt3DRender::QCameraLens::PerspectiveProjection.
Note: Setter function for property fieldOfView.
See also fieldOfView().
pub unsafe fn set_frustum_projection(
&self,
left: c_float,
right: c_float,
bottom: c_float,
top: c_float,
near_plane: c_float,
far_plane: c_float
)
[src]
&self,
left: c_float,
right: c_float,
bottom: c_float,
top: c_float,
near_plane: c_float,
far_plane: c_float
)
Defines an orthographic projection based on left, right, bottom, top, nearPlane, farPlane.
Calls C++ function: void Qt3DRender::QCameraLens::setFrustumProjection(float left, float right, float bottom, float top, float nearPlane, float farPlane)
.
Defines an orthographic projection based on left, right, bottom, top, nearPlane, farPlane.
pub unsafe fn set_left(&self, left: c_float)
[src]
Sets the projection's lower left window coordinate to left. This triggers a projection matrix update.
Calls C++ function: [slot] void Qt3DRender::QCameraLens::setLeft(float left)
.
Sets the projection's lower left window coordinate to left. This triggers a projection matrix update.
Note: this has no effect if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Note: Setter function for property left.
See also left().
pub unsafe fn set_near_plane(&self, near_plane: c_float)
[src]
Sets the projection's near plane to nearPlane. This triggers a projection matrix update.
Calls C++ function: [slot] void Qt3DRender::QCameraLens::setNearPlane(float nearPlane)
.
pub unsafe fn set_orthographic_projection(
&self,
left: c_float,
right: c_float,
bottom: c_float,
top: c_float,
near_plane: c_float,
far_plane: c_float
)
[src]
&self,
left: c_float,
right: c_float,
bottom: c_float,
top: c_float,
near_plane: c_float,
far_plane: c_float
)
Defines an orthographic projection based on left, right, bottom, top, nearPlane, farPlane.
Calls C++ function: void Qt3DRender::QCameraLens::setOrthographicProjection(float left, float right, float bottom, float top, float nearPlane, float farPlane)
.
Defines an orthographic projection based on left, right, bottom, top, nearPlane, farPlane.
pub unsafe fn set_perspective_projection(
&self,
field_of_view: c_float,
aspect: c_float,
near_plane: c_float,
far_plane: c_float
)
[src]
&self,
field_of_view: c_float,
aspect: c_float,
near_plane: c_float,
far_plane: c_float
)
Defines a perspective projection based on fieldOfView, aspectRatio, nearPlane, farPlane.
Calls C++ function: void Qt3DRender::QCameraLens::setPerspectiveProjection(float fieldOfView, float aspect, float nearPlane, float farPlane)
.
Defines a perspective projection based on fieldOfView, aspectRatio, nearPlane, farPlane.
pub unsafe fn set_projection_matrix(
&self,
projection_matrix: impl CastInto<Ref<QMatrix4X4>>
)
[src]
&self,
projection_matrix: impl CastInto<Ref<QMatrix4X4>>
)
Sets the project matrix to projectionMatrix.
Calls C++ function: [slot] void Qt3DRender::QCameraLens::setProjectionMatrix(const QMatrix4x4& projectionMatrix)
.
Sets the project matrix to projectionMatrix.
Note: This will set the projection type to Qt3DRender::QCameraLens::CustomProjection and thus ignore all other camera parameters that might have been specified.
Note: Setter function for property projectionMatrix.
See also projectionMatrix().
pub unsafe fn set_projection_type(&self, projection_type: ProjectionType)
[src]
Sets the lens' projection type projectionType.
Calls C++ function: [slot] void Qt3DRender::QCameraLens::setProjectionType(Qt3DRender::QCameraLens::ProjectionType projectionType)
.
Sets the lens' projection type projectionType.
Note: Qt3DRender::QCameraLens::Frustum and Qt3DRender::QCameraLens::PerspectiveProjection are two different ways of specifying the same projection.
Note: Setter function for property projectionType.
See also projectionType().
pub unsafe fn set_right(&self, right: c_float)
[src]
Sets the projection's upper right window coordinate to right. This triggers a projection matrix update.
Calls C++ function: [slot] void Qt3DRender::QCameraLens::setRight(float right)
.
Sets the projection's upper right window coordinate to right. This triggers a projection matrix update.
Note: this has no effect if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Note: Setter function for property right.
See also right().
pub unsafe fn set_top(&self, top: c_float)
[src]
Sets the projection's top window coordinate to top. This triggers a projection matrix update.
Calls C++ function: [slot] void Qt3DRender::QCameraLens::setTop(float top)
.
Sets the projection's top window coordinate to top. This triggers a projection matrix update.
Note: this has no effect if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Note: Setter function for property top.
See also top().
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
pub unsafe fn top(&self) -> c_float
[src]
Holds the current top plane of the camera lens.
Calls C++ function: float Qt3DRender::QCameraLens::top() const
.
Holds the current top plane of the camera lens.
Note: The return value may be undefined if the projection type is Qt3DRender::QCameraLens::PerspectiveProjection.
Access functions:
float | top() const |
void | setTop(float top) |
Notifier signal:
void | topChanged(float top) |
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::QCameraLens::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::QCameraLens::trUtf8(const char* s, const char* c, int n)
.
pub unsafe fn view_all(&self, camera_id: impl CastInto<Ref<QNodeId>>)
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: void Qt3DRender::QCameraLens::viewAll(Qt3DCore::QNodeId cameraId)
.
pub unsafe fn view_entity(
&self,
entity_id: impl CastInto<Ref<QNodeId>>,
camera_id: impl CastInto<Ref<QNodeId>>
)
[src]
&self,
entity_id: impl CastInto<Ref<QNodeId>>,
camera_id: impl CastInto<Ref<QNodeId>>
)
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: void Qt3DRender::QCameraLens::viewEntity(Qt3DCore::QNodeId entityId, Qt3DCore::QNodeId cameraId)
.
pub unsafe fn view_sphere(
&self,
center: impl CastInto<Ref<QVector3D>>,
radius: c_float
)
[src]
&self,
center: impl CastInto<Ref<QVector3D>>,
radius: c_float
)
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: void Qt3DRender::QCameraLens::viewSphere(const QVector3D& center, float radius)
.
Trait Implementations
impl CppDeletable for QCameraLens
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: virtual [destructor] void Qt3DRender::QCameraLens::~QCameraLens()
.
impl Deref for QCameraLens
[src]
type Target = QComponent
The resulting type after dereferencing.
fn deref(&self) -> &QComponent
[src]
Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DRender::QCameraLens* ptr)
.
impl DynamicCast<QCameraLens> for QComponent
[src]
unsafe fn dynamic_cast(ptr: Ptr<QComponent>) -> Ptr<QCameraLens>
[src]
Calls C++ function: Qt3DRender::QCameraLens* dynamic_cast<Qt3DRender::QCameraLens*>(Qt3DCore::QComponent* ptr)
.
impl DynamicCast<QCameraLens> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QCameraLens>
[src]
Calls C++ function: Qt3DRender::QCameraLens* dynamic_cast<Qt3DRender::QCameraLens*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QCameraLens> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QCameraLens>
[src]
Calls C++ function: Qt3DRender::QCameraLens* dynamic_cast<Qt3DRender::QCameraLens*>(QObject* ptr)
.
impl StaticDowncast<QCameraLens> for QComponent
[src]
unsafe fn static_downcast(ptr: Ptr<QComponent>) -> Ptr<QCameraLens>
[src]
Calls C++ function: Qt3DRender::QCameraLens* static_cast<Qt3DRender::QCameraLens*>(Qt3DCore::QComponent* ptr)
.
impl StaticDowncast<QCameraLens> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QCameraLens>
[src]
Calls C++ function: Qt3DRender::QCameraLens* static_cast<Qt3DRender::QCameraLens*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QCameraLens> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QCameraLens>
[src]
Calls C++ function: Qt3DRender::QCameraLens* static_cast<Qt3DRender::QCameraLens*>(QObject* ptr)
.
impl StaticUpcast<QComponent> for QCameraLens
[src]
unsafe fn static_upcast(ptr: Ptr<QCameraLens>) -> Ptr<QComponent>
[src]
Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DRender::QCameraLens* ptr)
.
impl StaticUpcast<QNode> for QCameraLens
[src]
unsafe fn static_upcast(ptr: Ptr<QCameraLens>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QCameraLens* ptr)
.
impl StaticUpcast<QObject> for QCameraLens
[src]
unsafe fn static_upcast(ptr: Ptr<QCameraLens>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QCameraLens* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QCameraLens
impl Send for QCameraLens
impl Sync for QCameraLens
impl Unpin for QCameraLens
impl UnwindSafe for QCameraLens
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>,