[−][src]Struct qt_3d_extras::QNormalDiffuseSpecularMapMaterial
The QNormalDiffuseSpecularMapMaterial provides a default implementation of the phong lighting and bump effect where the diffuse and specular light components are read from texture maps and the normals of the mesh being rendered from a normal texture map.
C++ class: Qt3DExtras::QNormalDiffuseSpecularMapMaterial
.
The QNormalDiffuseSpecularMapMaterial provides a default implementation of the phong lighting and bump effect where the diffuse and specular light components are read from texture maps and the normals of the mesh being rendered from a normal texture map.
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 QNormalDiffuseSpecularMapMaterial
[src]
pub fn slot_set_ambient(&self) -> Receiver<(*const QColor,)>
[src]
Holds the current ambient color.
Returns a built-in Qt slot Qt3DExtras::QNormalDiffuseSpecularMapMaterial::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_diffuse(&self) -> Receiver<(*mut QAbstractTexture,)>
[src]
Holds the current diffuse map texture.
Returns a built-in Qt slot Qt3DExtras::QNormalDiffuseSpecularMapMaterial::setDiffuse
that can be passed to qt_core::Signal::connect
.
Holds the current diffuse map texture.
By default, the diffuse texture has the following properties:
- Linear minification and magnification filters
- Linear mipmap with mipmapping enabled
- Repeat wrap mode
- 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::QNormalDiffuseSpecularMapMaterial::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_specular(&self) -> Receiver<(*mut QAbstractTexture,)>
[src]
Holds the current specular map texture.
Returns a built-in Qt slot Qt3DExtras::QNormalDiffuseSpecularMapMaterial::setSpecular
that can be passed to qt_core::Signal::connect
.
Holds the current specular map texture.
By default, the specular texture has the following properties:
- Linear minification and magnification filters
- Linear mipmap with mipmapping enabled
- Repeat wrap mode
- Maximum anisotropy of 16.0
Access functions:
Qt3DRender::QAbstractTexture * | specular() const |
void | setSpecular(Qt3DRender::QAbstractTexture *specular) |
Notifier signal:
void | specularChanged(Qt3DRender::QAbstractTexture *specular) |
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::QNormalDiffuseSpecularMapMaterial::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::QNormalDiffuseSpecularMapMaterial::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::QNormalDiffuseSpecularMapMaterial::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::QNormalDiffuseSpecularMapMaterial::diffuseChanged
that can be passed to qt_core::Signal::connect
.
Holds the current diffuse map texture.
By default, the diffuse texture has the following properties:
- Linear minification and magnification filters
- Linear mipmap with mipmapping enabled
- Repeat wrap mode
- 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::QNormalDiffuseSpecularMapMaterial::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<(*mut QAbstractTexture,)>
[src]
Holds the current specular map texture.
Returns a built-in Qt signal Qt3DExtras::QNormalDiffuseSpecularMapMaterial::specularChanged
that can be passed to qt_core::Signal::connect
.
Holds the current specular map texture.
By default, the specular texture has the following properties:
- Linear minification and magnification filters
- Linear mipmap with mipmapping enabled
- Repeat wrap mode
- Maximum anisotropy of 16.0
Access functions:
Qt3DRender::QAbstractTexture * | specular() const |
void | setSpecular(Qt3DRender::QAbstractTexture *specular) |
Notifier signal:
void | specularChanged(Qt3DRender::QAbstractTexture *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::QNormalDiffuseSpecularMapMaterial::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::QNormalDiffuseSpecularMapMaterial::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::QNormalDiffuseSpecularMapMaterial::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::QNormalDiffuseSpecularMapMaterial::diffuse() const
.
Holds the current diffuse map texture.
By default, the diffuse texture has the following properties:
- Linear minification and magnification filters
- Linear mipmap with mipmapping enabled
- Repeat wrap mode
- 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::QNormalDiffuseSpecularMapMaterial::metaObject() const
.
pub unsafe fn new_1a(
parent: impl CastInto<MutPtr<QNode>>
) -> QBox<QNormalDiffuseSpecularMapMaterial>
[src]
parent: impl CastInto<MutPtr<QNode>>
) -> QBox<QNormalDiffuseSpecularMapMaterial>
Default constructs an instance of QNormalDiffuseSpecularMapMaterial.
Calls C++ function: [constructor] void Qt3DExtras::QNormalDiffuseSpecularMapMaterial::QNormalDiffuseSpecularMapMaterial(Qt3DCore::QNode* parent = …)
.
Default constructs an instance of QNormalDiffuseSpecularMapMaterial.
pub unsafe fn new_0a() -> QBox<QNormalDiffuseSpecularMapMaterial>
[src]
The QNormalDiffuseSpecularMapMaterial provides a default implementation of the phong lighting and bump effect where the diffuse and specular light components are read from texture maps and the normals of the mesh being rendered from a normal texture map.
Calls C++ function: [constructor] void Qt3DExtras::QNormalDiffuseSpecularMapMaterial::QNormalDiffuseSpecularMapMaterial()
.
The QNormalDiffuseSpecularMapMaterial provides a default implementation of the phong lighting and bump effect where the diffuse and specular light components are read from texture maps and the normals of the mesh being rendered from a normal texture map.
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 normal(&self) -> QMutPtr<QAbstractTexture>
[src]
Holds the current normal map texture.
Calls C++ function: Qt3DRender::QAbstractTexture* Qt3DExtras::QNormalDiffuseSpecularMapMaterial::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::QNormalDiffuseSpecularMapMaterial::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::QNormalDiffuseSpecularMapMaterial::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::QNormalDiffuseSpecularMapMaterial::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::QNormalDiffuseSpecularMapMaterial::setDiffuse(Qt3DRender::QAbstractTexture* diffuse)
.
Holds the current diffuse map texture.
By default, the diffuse texture has the following properties:
- Linear minification and magnification filters
- Linear mipmap with mipmapping enabled
- Repeat wrap mode
- 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::QNormalDiffuseSpecularMapMaterial::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::QNormalDiffuseSpecularMapMaterial::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<MutPtr<QAbstractTexture>>
)
[src]
&mut self,
specular: impl CastInto<MutPtr<QAbstractTexture>>
)
Holds the current specular map texture.
Calls C++ function: [slot] void Qt3DExtras::QNormalDiffuseSpecularMapMaterial::setSpecular(Qt3DRender::QAbstractTexture* specular)
.
Holds the current specular map texture.
By default, the specular texture has the following properties:
- Linear minification and magnification filters
- Linear mipmap with mipmapping enabled
- Repeat wrap mode
- Maximum anisotropy of 16.0
Access functions:
Qt3DRender::QAbstractTexture * | specular() const |
void | setSpecular(Qt3DRender::QAbstractTexture *specular) |
Notifier signal:
void | specularChanged(Qt3DRender::QAbstractTexture *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::QNormalDiffuseSpecularMapMaterial::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::QNormalDiffuseSpecularMapMaterial::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) -> QMutPtr<QAbstractTexture>
[src]
Holds the current specular map texture.
Calls C++ function: Qt3DRender::QAbstractTexture* Qt3DExtras::QNormalDiffuseSpecularMapMaterial::specular() const
.
Holds the current specular map texture.
By default, the specular texture has the following properties:
- Linear minification and magnification filters
- Linear mipmap with mipmapping enabled
- Repeat wrap mode
- Maximum anisotropy of 16.0
Access functions:
Qt3DRender::QAbstractTexture * | specular() const |
void | setSpecular(Qt3DRender::QAbstractTexture *specular) |
Notifier signal:
void | specularChanged(Qt3DRender::QAbstractTexture *specular) |
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
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::QNormalDiffuseSpecularMapMaterial::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) |
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::QNormalDiffuseSpecularMapMaterial::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::QNormalDiffuseSpecularMapMaterial::trUtf8(const char* s, const char* c, int n)
.
Methods from Deref<Target = QMaterial>
pub fn slot_set_effect(&self) -> Receiver<(*mut QEffect,)>
[src]
Specifies the effect to be used with the material.
Returns a built-in Qt slot Qt3DRender::QMaterial::setEffect
that can be passed to qt_core::Signal::connect
.
Specifies the effect to be used with the material.
Access functions:
QEffect * | effect() const |
void | setEffect(QEffect *effect) |
Notifier signal:
void | effectChanged(QEffect *effect) |
pub fn effect_changed(&self) -> Signal<(*mut QEffect,)>
[src]
Specifies the effect to be used with the material.
Returns a built-in Qt signal Qt3DRender::QMaterial::effectChanged
that can be passed to qt_core::Signal::connect
.
Specifies the effect to be used with the material.
Access functions:
QEffect * | effect() const |
void | setEffect(QEffect *effect) |
Notifier signal:
void | effectChanged(QEffect *effect) |
pub unsafe fn add_parameter(
&mut self,
parameter: impl CastInto<MutPtr<QParameter>>
)
[src]
&mut self,
parameter: impl CastInto<MutPtr<QParameter>>
)
Add a parameter to the material's parameters.
Calls C++ function: void Qt3DRender::QMaterial::addParameter(Qt3DRender::QParameter* parameter)
.
Add a parameter to the material's parameters.
pub unsafe fn effect(&self) -> QMutPtr<QEffect>
[src]
Specifies the effect to be used with the material.
Calls C++ function: Qt3DRender::QEffect* Qt3DRender::QMaterial::effect() const
.
Specifies the effect to be used with the material.
Access functions:
QEffect * | effect() const |
void | setEffect(QEffect *effect) |
Notifier signal:
void | effectChanged(QEffect *effect) |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DRender::QMaterial::metaObject() const
.
pub unsafe fn parameters(&self) -> CppBox<QVectorOfQParameter>
[src]
Returns a vector of the material's current parameters
Calls C++ function: QVector<Qt3DRender::QParameter*> Qt3DRender::QMaterial::parameters() const
.
Returns a vector of the material's current parameters
pub unsafe fn qt_metacall(
&mut self,
arg1: Call,
arg2: i32,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> i32
[src]
&mut self,
arg1: Call,
arg2: i32,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> i32
Calls C++ function: virtual int Qt3DRender::QMaterial::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(
&mut self,
arg1: impl CastInto<Ptr<i8>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<i8>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* Qt3DRender::QMaterial::qt_metacast(const char* arg1)
.
pub unsafe fn remove_parameter(
&mut self,
parameter: impl CastInto<MutPtr<QParameter>>
)
[src]
&mut self,
parameter: impl CastInto<MutPtr<QParameter>>
)
Remove a parameter from the material's parameters.
Calls C++ function: void Qt3DRender::QMaterial::removeParameter(Qt3DRender::QParameter* parameter)
.
Remove a parameter from the material's parameters.
pub unsafe fn set_effect(&mut self, effect: impl CastInto<MutPtr<QEffect>>)
[src]
Specifies the effect to be used with the material.
Calls C++ function: [slot] void Qt3DRender::QMaterial::setEffect(Qt3DRender::QEffect* effect)
.
Specifies the effect to be used with the material.
Access functions:
QEffect * | effect() const |
void | setEffect(QEffect *effect) |
Notifier signal:
void | effectChanged(QEffect *effect) |
Trait Implementations
impl CppDeletable for QNormalDiffuseSpecularMapMaterial
[src]
unsafe fn delete(&mut self)
[src]
Destroys the QNormalDiffuseSpecularMapMaterial instance.
Calls C++ function: virtual [destructor] void Qt3DExtras::QNormalDiffuseSpecularMapMaterial::~QNormalDiffuseSpecularMapMaterial()
.
Destroys the QNormalDiffuseSpecularMapMaterial instance.
impl Deref for QNormalDiffuseSpecularMapMaterial
[src]
type Target = QMaterial
The resulting type after dereferencing.
fn deref(&self) -> &QMaterial
[src]
Calls C++ function: Qt3DRender::QMaterial* static_cast<Qt3DRender::QMaterial*>(Qt3DExtras::QNormalDiffuseSpecularMapMaterial* ptr)
.
impl DerefMut for QNormalDiffuseSpecularMapMaterial
[src]
fn deref_mut(&mut self) -> &mut QMaterial
[src]
Calls C++ function: Qt3DRender::QMaterial* static_cast<Qt3DRender::QMaterial*>(Qt3DExtras::QNormalDiffuseSpecularMapMaterial* ptr)
.
impl DynamicCast<QNormalDiffuseSpecularMapMaterial> for QMaterial
[src]
unsafe fn dynamic_cast(
ptr: Ptr<QMaterial>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: Ptr<QMaterial>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(Qt3DRender::QMaterial* ptr)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QMaterial>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: MutPtr<QMaterial>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(Qt3DRender::QMaterial* ptr)
.
impl DynamicCast<QNormalDiffuseSpecularMapMaterial> for QComponent
[src]
unsafe fn dynamic_cast(
ptr: Ptr<QComponent>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: Ptr<QComponent>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(Qt3DCore::QComponent* ptr)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QComponent>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: MutPtr<QComponent>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(Qt3DCore::QComponent* ptr)
.
impl DynamicCast<QNormalDiffuseSpecularMapMaterial> for QNode
[src]
unsafe fn dynamic_cast(
ptr: Ptr<QNode>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: Ptr<QNode>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(Qt3DCore::QNode* ptr)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QNode>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: MutPtr<QNode>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QNormalDiffuseSpecularMapMaterial> for QObject
[src]
unsafe fn dynamic_cast(
ptr: Ptr<QObject>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: Ptr<QObject>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(QObject* ptr)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QObject>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: MutPtr<QObject>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* dynamic_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(QObject* ptr)
.
impl StaticDowncast<QNormalDiffuseSpecularMapMaterial> for QMaterial
[src]
unsafe fn static_downcast(
ptr: Ptr<QMaterial>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: Ptr<QMaterial>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* static_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(Qt3DRender::QMaterial* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QMaterial>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: MutPtr<QMaterial>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* static_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(Qt3DRender::QMaterial* ptr)
.
impl StaticDowncast<QNormalDiffuseSpecularMapMaterial> for QComponent
[src]
unsafe fn static_downcast(
ptr: Ptr<QComponent>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: Ptr<QComponent>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* static_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(Qt3DCore::QComponent* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QComponent>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: MutPtr<QComponent>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* static_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(Qt3DCore::QComponent* ptr)
.
impl StaticDowncast<QNormalDiffuseSpecularMapMaterial> for QNode
[src]
unsafe fn static_downcast(
ptr: Ptr<QNode>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: Ptr<QNode>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* static_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(Qt3DCore::QNode* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QNode>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: MutPtr<QNode>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* static_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QNormalDiffuseSpecularMapMaterial> for QObject
[src]
unsafe fn static_downcast(
ptr: Ptr<QObject>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: Ptr<QObject>
) -> Ptr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* static_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(QObject* ptr)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QObject>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
[src]
ptr: MutPtr<QObject>
) -> MutPtr<QNormalDiffuseSpecularMapMaterial>
Calls C++ function: Qt3DExtras::QNormalDiffuseSpecularMapMaterial* static_cast<Qt3DExtras::QNormalDiffuseSpecularMapMaterial*>(QObject* ptr)
.
impl StaticUpcast<QComponent> for QNormalDiffuseSpecularMapMaterial
[src]
unsafe fn static_upcast(
ptr: Ptr<QNormalDiffuseSpecularMapMaterial>
) -> Ptr<QComponent>
[src]
ptr: Ptr<QNormalDiffuseSpecularMapMaterial>
) -> Ptr<QComponent>
Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DExtras::QNormalDiffuseSpecularMapMaterial* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QNormalDiffuseSpecularMapMaterial>
) -> MutPtr<QComponent>
[src]
ptr: MutPtr<QNormalDiffuseSpecularMapMaterial>
) -> MutPtr<QComponent>
Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DExtras::QNormalDiffuseSpecularMapMaterial* ptr)
.
impl StaticUpcast<QMaterial> for QNormalDiffuseSpecularMapMaterial
[src]
unsafe fn static_upcast(
ptr: Ptr<QNormalDiffuseSpecularMapMaterial>
) -> Ptr<QMaterial>
[src]
ptr: Ptr<QNormalDiffuseSpecularMapMaterial>
) -> Ptr<QMaterial>
Calls C++ function: Qt3DRender::QMaterial* static_cast<Qt3DRender::QMaterial*>(Qt3DExtras::QNormalDiffuseSpecularMapMaterial* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QNormalDiffuseSpecularMapMaterial>
) -> MutPtr<QMaterial>
[src]
ptr: MutPtr<QNormalDiffuseSpecularMapMaterial>
) -> MutPtr<QMaterial>
Calls C++ function: Qt3DRender::QMaterial* static_cast<Qt3DRender::QMaterial*>(Qt3DExtras::QNormalDiffuseSpecularMapMaterial* ptr)
.
impl StaticUpcast<QNode> for QNormalDiffuseSpecularMapMaterial
[src]
unsafe fn static_upcast(
ptr: Ptr<QNormalDiffuseSpecularMapMaterial>
) -> Ptr<QNode>
[src]
ptr: Ptr<QNormalDiffuseSpecularMapMaterial>
) -> Ptr<QNode>
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QNormalDiffuseSpecularMapMaterial* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QNormalDiffuseSpecularMapMaterial>
) -> MutPtr<QNode>
[src]
ptr: MutPtr<QNormalDiffuseSpecularMapMaterial>
) -> MutPtr<QNode>
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QNormalDiffuseSpecularMapMaterial* ptr)
.
impl StaticUpcast<QObject> for QNormalDiffuseSpecularMapMaterial
[src]
unsafe fn static_upcast(
ptr: Ptr<QNormalDiffuseSpecularMapMaterial>
) -> Ptr<QObject>
[src]
ptr: Ptr<QNormalDiffuseSpecularMapMaterial>
) -> Ptr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QNormalDiffuseSpecularMapMaterial* ptr)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QNormalDiffuseSpecularMapMaterial>
) -> MutPtr<QObject>
[src]
ptr: MutPtr<QNormalDiffuseSpecularMapMaterial>
) -> MutPtr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QNormalDiffuseSpecularMapMaterial* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QNormalDiffuseSpecularMapMaterial
impl Send for QNormalDiffuseSpecularMapMaterial
impl Sync for QNormalDiffuseSpecularMapMaterial
impl Unpin for QNormalDiffuseSpecularMapMaterial
impl UnwindSafe for QNormalDiffuseSpecularMapMaterial
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>,