[][src]Struct qt_3d_extras::QNormalDiffuseMapAlphaMaterial

#[repr(C)]pub struct QNormalDiffuseMapAlphaMaterial { /* fields omitted */ }

The QNormalDiffuseMapAlphaMaterial provides a specialization of QNormalDiffuseMapMaterial with alpha coverage and a depth test performed in the rendering pass.

C++ class: Qt3DExtras::QNormalDiffuseMapAlphaMaterial.

C++ documentation:

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<Ptr<QNode>>
) -> QBox<QNormalDiffuseMapAlphaMaterial>
[src]

Default constructs an instance of QNormalDiffuseMapAlphaMaterial.

Calls C++ function: [constructor] void Qt3DExtras::QNormalDiffuseMapAlphaMaterial::QNormalDiffuseMapAlphaMaterial(Qt3DCore::QNode* parent = …).

C++ documentation:

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().

C++ documentation:

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(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int Qt3DExtras::QNormalDiffuseMapAlphaMaterial::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void[src]

Calls C++ function: virtual void* Qt3DExtras::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: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DExtras::QNormalDiffuseMapAlphaMaterial::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]

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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) -> QPtr<QAbstractTexture>[src]

Holds the current diffuse map texture.

Calls C++ function: Qt3DRender::QAbstractTexture* Qt3DExtras::QNormalDiffuseMapMaterial::diffuse() const.

C++ documentation:

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) -> QPtr<QAbstractTexture>[src]

Holds the current normal map texture.

Calls C++ function: Qt3DRender::QAbstractTexture* Qt3DExtras::QNormalDiffuseMapMaterial::normal() const.

C++ documentation:

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(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int Qt3DExtras::QNormalDiffuseMapMaterial::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void[src]

Calls C++ function: virtual void* Qt3DExtras::QNormalDiffuseMapMaterial::qt_metacast(const char* arg1).

pub unsafe fn set_ambient(&self, ambient: impl CastInto<Ref<QColor>>)[src]

Holds the current ambient color.

Calls C++ function: [slot] void Qt3DExtras::QNormalDiffuseMapMaterial::setAmbient(const QColor& ambient).

C++ documentation:

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(&self, diffuse: impl CastInto<Ptr<QAbstractTexture>>)[src]

Holds the current diffuse map texture.

Calls C++ function: [slot] void Qt3DExtras::QNormalDiffuseMapMaterial::setDiffuse(Qt3DRender::QAbstractTexture* diffuse).

C++ documentation:

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(&self, normal: impl CastInto<Ptr<QAbstractTexture>>)[src]

Holds the current normal map texture.

Calls C++ function: [slot] void Qt3DExtras::QNormalDiffuseMapMaterial::setNormal(Qt3DRender::QAbstractTexture* normal).

C++ documentation:

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(&self, shininess: c_float)[src]

Holds the current shininess as a float value.

Calls C++ function: [slot] void Qt3DExtras::QNormalDiffuseMapMaterial::setShininess(float shininess).

C++ documentation:

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(&self, specular: impl CastInto<Ref<QColor>>)[src]

Holds the current specular color.

Calls C++ function: [slot] void Qt3DExtras::QNormalDiffuseMapMaterial::setSpecular(const QColor& specular).

C++ documentation:

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(&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).

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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.

C++ documentation:

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(&self)[src]

Destroys the QNormalDiffuseMapAlphaMaterial instance.

Calls C++ function: virtual [destructor] void Qt3DExtras::QNormalDiffuseMapAlphaMaterial::~QNormalDiffuseMapAlphaMaterial().

C++ documentation:

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 DynamicCast<QNormalDiffuseMapAlphaMaterial> for QNormalDiffuseMapMaterial[src]

unsafe fn dynamic_cast(
    ptr: Ptr<QNormalDiffuseMapMaterial>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
[src]

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]

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]

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).

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).

impl StaticDowncast<QNormalDiffuseMapAlphaMaterial> for QNormalDiffuseMapMaterial[src]

unsafe fn static_downcast(
    ptr: Ptr<QNormalDiffuseMapMaterial>
) -> Ptr<QNormalDiffuseMapAlphaMaterial>
[src]

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]

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]

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]

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]

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]

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]

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).

impl StaticUpcast<QNormalDiffuseMapMaterial> for QNormalDiffuseMapAlphaMaterial[src]

unsafe fn static_upcast(
    ptr: Ptr<QNormalDiffuseMapAlphaMaterial>
) -> Ptr<QNormalDiffuseMapMaterial>
[src]

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]

Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QNormalDiffuseMapAlphaMaterial* ptr).

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.