[−][src]Struct qt_3d_extras::QNormalDiffuseMapAlphaMaterial
The QNormalDiffuseMapAlphaMaterial provides a specialization of QNormalDiffuseMapMaterial with alpha coverage and a depth test performed in the rendering pass.
C++ class: Qt3DExtras::QNormalDiffuseMapAlphaMaterial
.
The QNormalDiffuseMapAlphaMaterial provides a specialization of QNormalDiffuseMapMaterial with alpha coverage and a depth test performed in the rendering pass.
The specular lighting effect is based on the combination of 3 lighting components ambient, diffuse and specular. The relative strengths of these components are controlled by means of their reflectivity coefficients which are modelled as RGB triplets:
- Ambient is the color that is emitted by an object without any other light source.
- Diffuse is the color that is emitted for rought surface reflections with the lights.
- Specular is the color emitted for shiny surface reflections with the lights.
- The shininess of a surface is controlled by a float property.
This material uses an effect with a single render pass approach and performs per fragment lighting. Techniques are provided for OpenGL 2, OpenGL 3 or above as well as OpenGL ES 2.
Methods
impl QNormalDiffuseMapAlphaMaterial
[src]
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DExtras::QNormalDiffuseMapAlphaMaterial::metaObject() const
.
pub unsafe fn new_1a(
parent: impl CastInto<MutPtr<QNode>>
) -> QBox<QNormalDiffuseMapAlphaMaterial>
[src]
parent: impl CastInto<MutPtr<QNode>>
) -> QBox<QNormalDiffuseMapAlphaMaterial>
Default constructs an instance of QNormalDiffuseMapAlphaMaterial.
Calls C++ function: [constructor] void Qt3DExtras::QNormalDiffuseMapAlphaMaterial::QNormalDiffuseMapAlphaMaterial(Qt3DCore::QNode* parent = …)
.
Default constructs an instance of QNormalDiffuseMapAlphaMaterial.
pub unsafe fn new_0a() -> QBox<QNormalDiffuseMapAlphaMaterial>
[src]
The QNormalDiffuseMapAlphaMaterial provides a specialization of QNormalDiffuseMapMaterial with alpha coverage and a depth test performed in the rendering pass.
Calls C++ function: [constructor] void Qt3DExtras::QNormalDiffuseMapAlphaMaterial::QNormalDiffuseMapAlphaMaterial()
.
The QNormalDiffuseMapAlphaMaterial provides a specialization of QNormalDiffuseMapMaterial with alpha coverage and a depth test performed in the rendering pass.
The specular lighting effect is based on the combination of 3 lighting components ambient, diffuse and specular. The relative strengths of these components are controlled by means of their reflectivity coefficients which are modelled as RGB triplets:
- Ambient is the color that is emitted by an object without any other light source.
- Diffuse is the color that is emitted for rought surface reflections with the lights.
- Specular is the color emitted for shiny surface reflections with the lights.
- The shininess of a surface is controlled by a float property.
This material uses an effect with a single render pass approach and performs per fragment lighting. Techniques are provided for OpenGL 2, OpenGL 3 or above as well as OpenGL ES 2.
pub unsafe fn qt_metacall(
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
Calls C++ function: virtual int Qt3DExtras::QNormalDiffuseMapAlphaMaterial::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* Qt3DExtras::QNormalDiffuseMapAlphaMaterial::qt_metacast(const char* arg1)
.
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
pub unsafe fn tr(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DExtras::QNormalDiffuseMapAlphaMaterial::tr(const char* s, const char* c, int n)
.
pub unsafe fn tr_utf8(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DExtras::QNormalDiffuseMapAlphaMaterial::trUtf8(const char* s, const char* c, int n)
.
Methods from Deref<Target = QNormalDiffuseMapMaterial>
pub fn slot_set_ambient(&self) -> Receiver<(*const QColor,)>
[src]
Holds the current ambient color.
Returns a built-in Qt slot Qt3DExtras::QNormalDiffuseMapMaterial::setAmbient
that can be passed to qt_core::Signal::connect
.
Holds the current ambient color.
Access functions:
QColor | ambient() const |
void | setAmbient(const QColor &ambient) |
Notifier signal:
void | ambientChanged(const QColor &ambient) |
pub fn slot_set_specular(&self) -> Receiver<(*const QColor,)>
[src]
Holds the current specular color.
Returns a built-in Qt slot Qt3DExtras::QNormalDiffuseMapMaterial::setSpecular
that can be passed to qt_core::Signal::connect
.
Holds the current specular color.
Access functions:
QColor | specular() const |
void | setSpecular(const QColor &specular) |
Notifier signal:
void | specularChanged(const QColor &specular) |
pub fn slot_set_diffuse(&self) -> Receiver<(*mut QAbstractTexture,)>
[src]
Holds the current diffuse map texture.
Returns a built-in Qt slot Qt3DExtras::QNormalDiffuseMapMaterial::setDiffuse
that can be passed to qt_core::Signal::connect
.
Holds the current diffuse map texture.
By default, the diffuse texture has these properties:
- Linear minification and magnification filters
- Linear mipmap with mipmapping enabled
- Repeat wrap modeM
- Maximum anisotropy of 16.0
Access functions:
Qt3DRender::QAbstractTexture * | diffuse() const |
void | setDiffuse(Qt3DRender::QAbstractTexture *diffuse) |
Notifier signal:
void | diffuseChanged(Qt3DRender::QAbstractTexture *diffuse) |
pub fn slot_set_normal(&self) -> Receiver<(*mut QAbstractTexture,)>
[src]
Holds the current normal map texture.
Returns a built-in Qt slot Qt3DExtras::QNormalDiffuseMapMaterial::setNormal
that can be passed to qt_core::Signal::connect
.
Holds the current normal map texture.
By default, the normal texture has the following properties:
- Linear minification and magnification filters
- Repeat wrap mode
- Maximum anisotropy of 16.0
Access functions:
Qt3DRender::QAbstractTexture * | normal() const |
void | setNormal(Qt3DRender::QAbstractTexture *normal) |
Notifier signal:
void | normalChanged(Qt3DRender::QAbstractTexture *normal) |
pub fn slot_set_shininess(&self) -> Receiver<(c_float,)>
[src]
Holds the current shininess as a float value.
Returns a built-in Qt slot Qt3DExtras::QNormalDiffuseMapMaterial::setShininess
that can be passed to qt_core::Signal::connect
.
Holds the current shininess as a float value.
Access functions:
float | shininess() const |
void | setShininess(float shininess) |
Notifier signal:
void | shininessChanged(float shininess) |
pub fn slot_set_texture_scale(&self) -> Receiver<(c_float,)>
[src]
Holds the current texture scale. It is applied as a multiplier to texture coordinates at render time. Defaults to 1.0.
Returns a built-in Qt slot Qt3DExtras::QNormalDiffuseMapMaterial::setTextureScale
that can be passed to qt_core::Signal::connect
.
Holds the current texture scale. It is applied as a multiplier to texture coordinates at render time. Defaults to 1.0.
Access functions:
float | textureScale() const |
void | setTextureScale(float textureScale) |
Notifier signal:
void | textureScaleChanged(float textureScale) |
pub fn ambient_changed(&self) -> Signal<(*const QColor,)>
[src]
Holds the current ambient color.
Returns a built-in Qt signal Qt3DExtras::QNormalDiffuseMapMaterial::ambientChanged
that can be passed to qt_core::Signal::connect
.
Holds the current ambient color.
Access functions:
QColor | ambient() const |
void | setAmbient(const QColor &ambient) |
Notifier signal:
void | ambientChanged(const QColor &ambient) |
pub fn diffuse_changed(&self) -> Signal<(*mut QAbstractTexture,)>
[src]
Holds the current diffuse map texture.
Returns a built-in Qt signal Qt3DExtras::QNormalDiffuseMapMaterial::diffuseChanged
that can be passed to qt_core::Signal::connect
.
Holds the current diffuse map texture.
By default, the diffuse texture has these properties:
- Linear minification and magnification filters
- Linear mipmap with mipmapping enabled
- Repeat wrap modeM
- Maximum anisotropy of 16.0
Access functions:
Qt3DRender::QAbstractTexture * | diffuse() const |
void | setDiffuse(Qt3DRender::QAbstractTexture *diffuse) |
Notifier signal:
void | diffuseChanged(Qt3DRender::QAbstractTexture *diffuse) |
pub fn normal_changed(&self) -> Signal<(*mut QAbstractTexture,)>
[src]
Holds the current normal map texture.
Returns a built-in Qt signal Qt3DExtras::QNormalDiffuseMapMaterial::normalChanged
that can be passed to qt_core::Signal::connect
.
Holds the current normal map texture.
By default, the normal texture has the following properties:
- Linear minification and magnification filters
- Repeat wrap mode
- Maximum anisotropy of 16.0
Access functions:
Qt3DRender::QAbstractTexture * | normal() const |
void | setNormal(Qt3DRender::QAbstractTexture *normal) |
Notifier signal:
void | normalChanged(Qt3DRender::QAbstractTexture *normal) |
pub fn specular_changed(&self) -> Signal<(*const QColor,)>
[src]
Holds the current specular color.
Returns a built-in Qt signal Qt3DExtras::QNormalDiffuseMapMaterial::specularChanged
that can be passed to qt_core::Signal::connect
.
Holds the current specular color.
Access functions:
QColor | specular() const |
void | setSpecular(const QColor &specular) |
Notifier signal:
void | specularChanged(const QColor &specular) |
pub fn shininess_changed(&self) -> Signal<(c_float,)>
[src]
Holds the current shininess as a float value.
Returns a built-in Qt signal Qt3DExtras::QNormalDiffuseMapMaterial::shininessChanged
that can be passed to qt_core::Signal::connect
.
Holds the current shininess as a float value.
Access functions:
float | shininess() const |
void | setShininess(float shininess) |
Notifier signal:
void | shininessChanged(float shininess) |
pub fn texture_scale_changed(&self) -> Signal<(c_float,)>
[src]
Holds the current texture scale. It is applied as a multiplier to texture coordinates at render time. Defaults to 1.0.
Returns a built-in Qt signal Qt3DExtras::QNormalDiffuseMapMaterial::textureScaleChanged
that can be passed to qt_core::Signal::connect
.
Holds the current texture scale. It is applied as a multiplier to texture coordinates at render time. Defaults to 1.0.
Access functions:
float | textureScale() const |
void | setTextureScale(float textureScale) |
Notifier signal:
void | textureScaleChanged(float textureScale) |
pub unsafe fn ambient(&self) -> CppBox<QColor>
[src]
Holds the current ambient color.
Calls C++ function: QColor Qt3DExtras::QNormalDiffuseMapMaterial::ambient() const
.
Holds the current ambient color.
Access functions:
QColor | ambient() const |
void | setAmbient(const QColor &ambient) |
Notifier signal:
void | ambientChanged(const QColor &ambient) |
pub unsafe fn diffuse(&self) -> QMutPtr<QAbstractTexture>
[src]
Holds the current diffuse map texture.
Calls C++ function: Qt3DRender::QAbstractTexture* Qt3DExtras::QNormalDiffuseMapMaterial::diffuse() const
.
Holds the current diffuse map texture.
By default, the diffuse texture has these properties:
- Linear minification and magnification filters
- Linear mipmap with mipmapping enabled
- Repeat wrap modeM
- Maximum anisotropy of 16.0
Access functions:
Qt3DRender::QAbstractTexture * | diffuse() const |
void | setDiffuse(Qt3DRender::QAbstractTexture *diffuse) |
Notifier signal:
void | diffuseChanged(Qt3DRender::QAbstractTexture *diffuse) |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DExtras::QNormalDiffuseMapMaterial::metaObject() const
.
pub unsafe fn normal(&self) -> QMutPtr<QAbstractTexture>
[src]
Holds the current normal map texture.
Calls C++ function: Qt3DRender::QAbstractTexture* Qt3DExtras::QNormalDiffuseMapMaterial::normal() const
.
Holds the current normal map texture.
By default, the normal texture has the following properties:
- Linear minification and magnification filters
- Repeat wrap mode
- Maximum anisotropy of 16.0
Access functions:
Qt3DRender::QAbstractTexture * | normal() const |
void | setNormal(Qt3DRender::QAbstractTexture *normal) |
Notifier signal:
void | normalChanged(Qt3DRender::QAbstractTexture *normal) |
pub unsafe fn qt_metacall(
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
Calls C++ function: virtual int Qt3DExtras::QNormalDiffuseMapMaterial::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* Qt3DExtras::QNormalDiffuseMapMaterial::qt_metacast(const char* arg1)
.
pub unsafe fn set_ambient(&mut self, ambient: impl CastInto<Ref<QColor>>)
[src]
Holds the current ambient color.
Calls C++ function: [slot] void Qt3DExtras::QNormalDiffuseMapMaterial::setAmbient(const QColor& ambient)
.
Holds the current ambient color.
Access functions:
QColor | ambient() const |
void | setAmbient(const QColor &ambient) |
Notifier signal:
void | ambientChanged(const QColor &ambient) |
pub unsafe fn set_diffuse(
&mut self,
diffuse: impl CastInto<MutPtr<QAbstractTexture>>
)
[src]
&mut self,
diffuse: impl CastInto<MutPtr<QAbstractTexture>>
)
Holds the current diffuse map texture.
Calls C++ function: [slot] void Qt3DExtras::QNormalDiffuseMapMaterial::setDiffuse(Qt3DRender::QAbstractTexture* diffuse)
.
Holds the current diffuse map texture.
By default, the diffuse texture has these properties:
- Linear minification and magnification filters
- Linear mipmap with mipmapping enabled
- Repeat wrap modeM
- Maximum anisotropy of 16.0
Access functions:
Qt3DRender::QAbstractTexture * | diffuse() const |
void | setDiffuse(Qt3DRender::QAbstractTexture *diffuse) |
Notifier signal:
void | diffuseChanged(Qt3DRender::QAbstractTexture *diffuse) |
pub unsafe fn set_normal(
&mut self,
normal: impl CastInto<MutPtr<QAbstractTexture>>
)
[src]
&mut self,
normal: impl CastInto<MutPtr<QAbstractTexture>>
)
Holds the current normal map texture.
Calls C++ function: [slot] void Qt3DExtras::QNormalDiffuseMapMaterial::setNormal(Qt3DRender::QAbstractTexture* normal)
.
Holds the current normal map texture.
By default, the normal texture has the following properties:
- Linear minification and magnification filters
- Repeat wrap mode
- Maximum anisotropy of 16.0
Access functions:
Qt3DRender::QAbstractTexture * | normal() const |
void | setNormal(Qt3DRender::QAbstractTexture *normal) |
Notifier signal:
void | normalChanged(Qt3DRender::QAbstractTexture *normal) |
pub unsafe fn set_shininess(&mut self, shininess: c_float)
[src]
Holds the current shininess as a float value.
Calls C++ function: [slot] void Qt3DExtras::QNormalDiffuseMapMaterial::setShininess(float shininess)
.
Holds the current shininess as a float value.
Access functions:
float | shininess() const |
void | setShininess(float shininess) |
Notifier signal:
void | shininessChanged(float shininess) |
pub unsafe fn set_specular(&mut self, specular: impl CastInto<Ref<QColor>>)
[src]
Holds the current specular color.
Calls C++ function: [slot] void Qt3DExtras::QNormalDiffuseMapMaterial::setSpecular(const QColor& specular)
.
Holds the current specular color.
Access functions:
QColor | specular() const |
void | setSpecular(const QColor &specular) |
Notifier signal:
void | specularChanged(const QColor &specular) |
pub unsafe fn set_texture_scale(&mut self, texture_scale: c_float)
[src]
Holds the current texture scale. It is applied as a multiplier to texture coordinates at render time. Defaults to 1.0.
Calls C++ function: [slot] void Qt3DExtras::QNormalDiffuseMapMaterial::setTextureScale(float textureScale)
.
Holds the current texture scale. It is applied as a multiplier to texture coordinates at render time. Defaults to 1.0.
Access functions:
float | textureScale() const |
void | setTextureScale(float textureScale) |
Notifier signal:
void | textureScaleChanged(float textureScale) |
pub unsafe fn shininess(&self) -> c_float
[src]
Holds the current shininess as a float value.
Calls C++ function: float Qt3DExtras::QNormalDiffuseMapMaterial::shininess() const
.
Holds the current shininess as a float value.
Access functions:
float | shininess() const |
void | setShininess(float shininess) |
Notifier signal:
void | shininessChanged(float shininess) |
pub unsafe fn specular(&self) -> CppBox<QColor>
[src]
Holds the current specular color.
Calls C++ function: QColor Qt3DExtras::QNormalDiffuseMapMaterial::specular() const
.
Holds the current specular color.
Access functions:
QColor | specular() const |
void | setSpecular(const QColor &specular) |
Notifier signal:
void | specularChanged(const QColor &specular) |
pub unsafe fn texture_scale(&self) -> c_float
[src]
Holds the current texture scale. It is applied as a multiplier to texture coordinates at render time. Defaults to 1.0.
Calls C++ function: float Qt3DExtras::QNormalDiffuseMapMaterial::textureScale() const
.
Holds the current texture scale. It is applied as a multiplier to texture coordinates at render time. Defaults to 1.0.
Access functions:
float | textureScale() const |
void | setTextureScale(float textureScale) |
Notifier signal:
void | textureScaleChanged(float textureScale) |
Trait Implementations
impl CppDeletable for QNormalDiffuseMapAlphaMaterial
[src]
unsafe fn delete(&mut self)
[src]
Destroys the QNormalDiffuseMapAlphaMaterial instance.
Calls C++ function: virtual [destructor] void Qt3DExtras::QNormalDiffuseMapAlphaMaterial::~QNormalDiffuseMapAlphaMaterial()
.
Destroys the QNormalDiffuseMapAlphaMaterial instance.
impl Deref for QNormalDiffuseMapAlphaMaterial
[src]
type Target = QNormalDiffuseMapMaterial
The resulting type after dereferencing.
fn deref(&self) -> &QNormalDiffuseMapMaterial
[src]
Calls C++ function: Qt3DExtras::QNormalDiffuseMapMaterial* static_cast<Qt3DExtras::QNormalDiffuseMapMaterial*>(Qt3DExtras::QNormalDiffuseMapAlphaMaterial* ptr)
.
impl DerefMut for QNormalDiffuseMapAlphaMaterial
[src]
fn deref_mut(&mut self) -> &mut QNormalDiffuseMapMaterial
[src]
Calls C++ function: Qt3DExtras::QNormalDiffuseMapMaterial* static_cast<Qt3DExtras::QNormalDiffuseMapMaterial*>(Qt3DExtras::QNormalDiffuseMapAlphaMaterial* ptr)
.
impl DynamicCast<QNormalDiffuseMapAlphaMaterial> for QNormalDiffuseMapMaterial
[src]
unsafe fn dynamic_cast(
ptr: Ptr<QNormalDiffuseMapMaterial>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: Ptr<QNormalDiffuseMapMaterial>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DExtras::QNormalDiffuseMapMaterial* ptr)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QNormalDiffuseMapMaterial>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: MutPtr<QNormalDiffuseMapMaterial>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DExtras::QNormalDiffuseMapMaterial* ptr)
.
impl DynamicCast<QNormalDiffuseMapAlphaMaterial> for QMaterial
[src]
unsafe fn dynamic_cast(
ptr: Ptr<QMaterial>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: Ptr<QMaterial>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DRender::QMaterial* ptr)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QMaterial>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: MutPtr<QMaterial>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DRender::QMaterial* ptr)
.
impl DynamicCast<QNormalDiffuseMapAlphaMaterial> for QComponent
[src]
unsafe fn dynamic_cast(
ptr: Ptr<QComponent>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: Ptr<QComponent>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DCore::QComponent* ptr)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QComponent>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: MutPtr<QComponent>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DCore::QComponent* ptr)
.
impl DynamicCast<QNormalDiffuseMapAlphaMaterial> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QNormalDiffuseMapAlphaMaterial>
[src]
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DCore::QNode* ptr)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QNode>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: MutPtr<QNode>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QNormalDiffuseMapAlphaMaterial> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QNormalDiffuseMapAlphaMaterial>
[src]
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(QObject* ptr)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QObject>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: MutPtr<QObject>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(QObject* ptr)
.
impl StaticDowncast<QNormalDiffuseMapAlphaMaterial> for QNormalDiffuseMapMaterial
[src]
unsafe fn static_downcast(
ptr: Ptr<QNormalDiffuseMapMaterial>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: Ptr<QNormalDiffuseMapMaterial>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* static_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DExtras::QNormalDiffuseMapMaterial* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QNormalDiffuseMapMaterial>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: MutPtr<QNormalDiffuseMapMaterial>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* static_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DExtras::QNormalDiffuseMapMaterial* ptr)
.
impl StaticDowncast<QNormalDiffuseMapAlphaMaterial> for QMaterial
[src]
unsafe fn static_downcast(
ptr: Ptr<QMaterial>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: Ptr<QMaterial>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* static_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DRender::QMaterial* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QMaterial>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: MutPtr<QMaterial>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* static_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DRender::QMaterial* ptr)
.
impl StaticDowncast<QNormalDiffuseMapAlphaMaterial> for QComponent
[src]
unsafe fn static_downcast(
ptr: Ptr<QComponent>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: Ptr<QComponent>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* static_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DCore::QComponent* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QComponent>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: MutPtr<QComponent>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* static_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DCore::QComponent* ptr)
.
impl StaticDowncast<QNormalDiffuseMapAlphaMaterial> for QNode
[src]
unsafe fn static_downcast(
ptr: Ptr<QNode>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: Ptr<QNode>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* static_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DCore::QNode* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QNode>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: MutPtr<QNode>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* static_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QNormalDiffuseMapAlphaMaterial> for QObject
[src]
unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: Ptr<QObject>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* static_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(QObject* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QObject>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
[src]
ptr: MutPtr<QObject>
) -> MutPtr<QNormalDiffuseMapAlphaMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapAlphaMaterial* static_cast<Qt3DExtras::QNormalDiffuseMapAlphaMaterial*>(QObject* ptr)
.
impl StaticUpcast<QComponent> for QNormalDiffuseMapAlphaMaterial
[src]
unsafe fn static_upcast(
ptr: Ptr<QNormalDiffuseMapAlphaMaterial>
) -> Ptr<QComponent>
[src]
ptr: Ptr<QNormalDiffuseMapAlphaMaterial>
) -> Ptr<QComponent>
Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DExtras::QNormalDiffuseMapAlphaMaterial* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QNormalDiffuseMapAlphaMaterial>
) -> MutPtr<QComponent>
[src]
ptr: MutPtr<QNormalDiffuseMapAlphaMaterial>
) -> MutPtr<QComponent>
Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DExtras::QNormalDiffuseMapAlphaMaterial* ptr)
.
impl StaticUpcast<QMaterial> for QNormalDiffuseMapAlphaMaterial
[src]
unsafe fn static_upcast(
ptr: Ptr<QNormalDiffuseMapAlphaMaterial>
) -> Ptr<QMaterial>
[src]
ptr: Ptr<QNormalDiffuseMapAlphaMaterial>
) -> Ptr<QMaterial>
Calls C++ function: Qt3DRender::QMaterial* static_cast<Qt3DRender::QMaterial*>(Qt3DExtras::QNormalDiffuseMapAlphaMaterial* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QNormalDiffuseMapAlphaMaterial>
) -> MutPtr<QMaterial>
[src]
ptr: MutPtr<QNormalDiffuseMapAlphaMaterial>
) -> MutPtr<QMaterial>
Calls C++ function: Qt3DRender::QMaterial* static_cast<Qt3DRender::QMaterial*>(Qt3DExtras::QNormalDiffuseMapAlphaMaterial* ptr)
.
impl StaticUpcast<QNode> for QNormalDiffuseMapAlphaMaterial
[src]
unsafe fn static_upcast(ptr: Ptr<QNormalDiffuseMapAlphaMaterial>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QNormalDiffuseMapAlphaMaterial* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QNormalDiffuseMapAlphaMaterial>
) -> MutPtr<QNode>
[src]
ptr: MutPtr<QNormalDiffuseMapAlphaMaterial>
) -> MutPtr<QNode>
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QNormalDiffuseMapAlphaMaterial* ptr)
.
impl StaticUpcast<QNormalDiffuseMapMaterial> for QNormalDiffuseMapAlphaMaterial
[src]
unsafe fn static_upcast(
ptr: Ptr<QNormalDiffuseMapAlphaMaterial>
) -> Ptr<QNormalDiffuseMapMaterial>
[src]
ptr: Ptr<QNormalDiffuseMapAlphaMaterial>
) -> Ptr<QNormalDiffuseMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapMaterial* static_cast<Qt3DExtras::QNormalDiffuseMapMaterial*>(Qt3DExtras::QNormalDiffuseMapAlphaMaterial* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QNormalDiffuseMapAlphaMaterial>
) -> MutPtr<QNormalDiffuseMapMaterial>
[src]
ptr: MutPtr<QNormalDiffuseMapAlphaMaterial>
) -> MutPtr<QNormalDiffuseMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseMapMaterial* static_cast<Qt3DExtras::QNormalDiffuseMapMaterial*>(Qt3DExtras::QNormalDiffuseMapAlphaMaterial* ptr)
.
impl StaticUpcast<QObject> for QNormalDiffuseMapAlphaMaterial
[src]
unsafe fn static_upcast(
ptr: Ptr<QNormalDiffuseMapAlphaMaterial>
) -> Ptr<QObject>
[src]
ptr: Ptr<QNormalDiffuseMapAlphaMaterial>
) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QNormalDiffuseMapAlphaMaterial* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QNormalDiffuseMapAlphaMaterial>
) -> MutPtr<QObject>
[src]
ptr: MutPtr<QNormalDiffuseMapAlphaMaterial>
) -> MutPtr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QNormalDiffuseMapAlphaMaterial* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QNormalDiffuseMapAlphaMaterial
impl Send for QNormalDiffuseMapAlphaMaterial
impl Sync for QNormalDiffuseMapAlphaMaterial
impl Unpin for QNormalDiffuseMapAlphaMaterial
impl UnwindSafe for QNormalDiffuseMapAlphaMaterial
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]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<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>,