[][src]Struct qt_3d_render::QMesh

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

A custom mesh loader.

C++ class: Qt3DRender::QMesh.

C++ documentation:

A custom mesh loader.

Loads mesh data from external files in a variety of formats. Qt3DRender::QMesh loads data into a single mesh.

In Qt3D 5.9, QMesh supports the following formats:

  • Wavefront OBJ
  • Stanford Triangle Format PLY
  • STL (STereoLithography)

QMesh will also support the following format if the SDK is installed and the fbx geometry loader plugin is built and found:

  • Autodesk FBX

If you wish to load an entire scene made of several objects, you should rather use the Qt3DRender::QSceneLoader instead.

Methods

impl QMesh[src]

pub fn slot_set_source(&self) -> Receiver<(*const QUrl,)>[src]

Holds the source url to the file containing the custom mesh.

Returns a built-in Qt slot Qt3DRender::QMesh::setSource that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the source url to the file containing the custom mesh.

Access functions:

QUrl source() const
void setSource(const QUrl &source)

Notifier signal:

void sourceChanged(const QUrl &source)

pub fn slot_set_mesh_name(&self) -> Receiver<(*const QString,)>[src]

Holds the name of the mesh.

Returns a built-in Qt slot Qt3DRender::QMesh::setMeshName that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the name of the mesh.

Access functions:

QString meshName() const
void setMeshName(const QString &meshName)

Notifier signal:

void meshNameChanged(const QString &meshName)

pub fn source_changed(&self) -> Signal<(*const QUrl,)>[src]

Holds the source url to the file containing the custom mesh.

Returns a built-in Qt signal Qt3DRender::QMesh::sourceChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the source url to the file containing the custom mesh.

Access functions:

QUrl source() const
void setSource(const QUrl &source)

Notifier signal:

void sourceChanged(const QUrl &source)

pub fn mesh_name_changed(&self) -> Signal<(*const QString,)>[src]

Holds the name of the mesh.

Returns a built-in Qt signal Qt3DRender::QMesh::meshNameChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the name of the mesh.

Access functions:

QString meshName() const
void setMeshName(const QString &meshName)

Notifier signal:

void meshNameChanged(const QString &meshName)

pub unsafe fn mesh_name(&self) -> CppBox<QString>[src]

Holds the name of the mesh.

Calls C++ function: QString Qt3DRender::QMesh::meshName() const.

C++ documentation:

Holds the name of the mesh.

Access functions:

QString meshName() const
void setMeshName(const QString &meshName)

Notifier signal:

void meshNameChanged(const QString &meshName)

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* Qt3DRender::QMesh::metaObject() const.

pub unsafe fn new_1a(parent: impl CastInto<Ptr<QNode>>) -> QBox<QMesh>[src]

Default constructs an instance of QMesh.

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

C++ documentation:

Default constructs an instance of QMesh.

pub unsafe fn new_0a() -> QBox<QMesh>[src]

A custom mesh loader.

Calls C++ function: [constructor] void Qt3DRender::QMesh::QMesh().

C++ documentation:

A custom mesh loader.

Loads mesh data from external files in a variety of formats. Qt3DRender::QMesh loads data into a single mesh.

In Qt3D 5.9, QMesh supports the following formats:

  • Wavefront OBJ
  • Stanford Triangle Format PLY
  • STL (STereoLithography)

QMesh will also support the following format if the SDK is installed and the fbx geometry loader plugin is built and found:

  • Autodesk FBX

If you wish to load an entire scene made of several objects, you should rather use the Qt3DRender::QSceneLoader instead.

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int Qt3DRender::QMesh::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::QMesh::qt_metacast(const char* arg1).

pub unsafe fn set_mesh_name(&self, mesh_name: impl CastInto<Ref<QString>>)[src]

Holds the name of the mesh.

Calls C++ function: [slot] void Qt3DRender::QMesh::setMeshName(const QString& meshName).

C++ documentation:

Holds the name of the mesh.

Access functions:

QString meshName() const
void setMeshName(const QString &meshName)

Notifier signal:

void meshNameChanged(const QString &meshName)

pub unsafe fn set_source(&self, source: impl CastInto<Ref<QUrl>>)[src]

Holds the source url to the file containing the custom mesh.

Calls C++ function: [slot] void Qt3DRender::QMesh::setSource(const QUrl& source).

C++ documentation:

Holds the source url to the file containing the custom mesh.

Access functions:

QUrl source() const
void setSource(const QUrl &source)

Notifier signal:

void sourceChanged(const QUrl &source)

pub unsafe fn source(&self) -> CppBox<QUrl>[src]

Holds the source url to the file containing the custom mesh.

Calls C++ function: QUrl Qt3DRender::QMesh::source() const.

C++ documentation:

Holds the source url to the file containing the custom mesh.

Access functions:

QUrl source() const
void setSource(const QUrl &source)

Notifier signal:

void sourceChanged(const QUrl &source)

pub unsafe fn static_meta_object() -> Ref<QMetaObject>[src]

Returns a reference to the staticMetaObject field.

pub unsafe fn status(&self) -> Status[src]

This is supported on 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.

Holds the status of the mesh loading.

Calls C++ function: Qt3DRender::QMesh::Status Qt3DRender::QMesh::status() const.

C++ documentation:

Holds the status of the mesh loading.

Access functions:

Qt3DRender::QMesh::Status status() const

Notifier signal:

void statusChanged(Qt3DRender::QMesh::Status status)

See also Qt3DRender::QMesh::Status.

pub unsafe fn status_changed(&self, status: Status)[src]

This is supported on 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.

Holds the status of the mesh loading.

Calls C++ function: void Qt3DRender::QMesh::statusChanged(Qt3DRender::QMesh::Status status).

C++ documentation:

Holds the status of the mesh loading.

Access functions:

Qt3DRender::QMesh::Status status() const

Notifier signal:

void statusChanged(Qt3DRender::QMesh::Status status)

See also Qt3DRender::QMesh::Status.

pub unsafe fn tr(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DRender::QMesh::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 Qt3DRender::QMesh::trUtf8(const char* s, const char* c, int n).

Methods from Deref<Target = QGeometryRenderer>

pub fn slot_set_instance_count(&self) -> Receiver<(c_int,)>[src]

Holds the instance count.

Returns a built-in Qt slot Qt3DRender::QGeometryRenderer::setInstanceCount that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the instance count.

Access functions:

int instanceCount() const
void setInstanceCount(int instanceCount)

Notifier signal:

void instanceCountChanged(int instanceCount)

pub fn slot_set_vertex_count(&self) -> Receiver<(c_int,)>[src]

Holds the primitive count.

Returns a built-in Qt slot Qt3DRender::QGeometryRenderer::setVertexCount that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the primitive count.

Access functions:

int vertexCount() const
void setVertexCount(int vertexCount)

Notifier signal:

void vertexCountChanged(int vertexCount)

pub fn slot_set_index_offset(&self) -> Receiver<(c_int,)>[src]

Holds the base vertex.

Returns a built-in Qt slot Qt3DRender::QGeometryRenderer::setIndexOffset that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the base vertex.

Access functions:

int indexOffset() const
void setIndexOffset(int indexOffset)

Notifier signal:

void indexOffsetChanged(int indexOffset)

pub fn slot_set_first_instance(&self) -> Receiver<(c_int,)>[src]

Holds the base instance.

Returns a built-in Qt slot Qt3DRender::QGeometryRenderer::setFirstInstance that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the base instance.

Access functions:

int firstInstance() const
void setFirstInstance(int firstInstance)

Notifier signal:

void firstInstanceChanged(int firstInstance)

pub fn slot_set_first_vertex(&self) -> Receiver<(c_int,)>[src]

Holds the base vertex.

Returns a built-in Qt slot Qt3DRender::QGeometryRenderer::setFirstVertex that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the base vertex.

Access functions:

int firstVertex() const
void setFirstVertex(int firstVertex)

Notifier signal:

void firstVertexChanged(int firstVertex)

pub fn slot_set_restart_index_value(&self) -> Receiver<(c_int,)>[src]

Holds the restart index.

Returns a built-in Qt slot Qt3DRender::QGeometryRenderer::setRestartIndexValue that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the restart index.

Access functions:

int restartIndexValue() const
void setRestartIndexValue(int index)

Notifier signal:

void restartIndexValueChanged(int restartIndexValue)

pub fn slot_set_vertices_per_patch(&self) -> Receiver<(c_int,)>[src]

Holds vertices per patch.

Returns a built-in Qt slot Qt3DRender::QGeometryRenderer::setVerticesPerPatch that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds vertices per patch.

Access functions:

int verticesPerPatch() const
void setVerticesPerPatch(int verticesPerPatch)

Notifier signal:

void verticesPerPatchChanged(int verticesPerPatch)

pub fn slot_set_primitive_restart_enabled(&self) -> Receiver<(bool,)>[src]

Holds the primitive restart flag.

Returns a built-in Qt slot Qt3DRender::QGeometryRenderer::setPrimitiveRestartEnabled that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the primitive restart flag.

Access functions:

bool primitiveRestartEnabled() const
void setPrimitiveRestartEnabled(bool enabled)

Notifier signal:

void primitiveRestartEnabledChanged(bool primitiveRestartEnabled)

pub fn slot_set_geometry(&self) -> Receiver<(*mut QGeometry,)>[src]

Holds the geometry.

Returns a built-in Qt slot Qt3DRender::QGeometryRenderer::setGeometry that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the geometry.

Access functions:

QGeometry *geometry() const
void setGeometry(QGeometry *geometry)

Notifier signal:

void geometryChanged(QGeometry *geometry)

pub fn slot_set_primitive_type(&self) -> Receiver<(PrimitiveType,)>[src]

Holds the primitive type.

Returns a built-in Qt slot Qt3DRender::QGeometryRenderer::setPrimitiveType that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the primitive type.

Access functions:

PrimitiveType primitiveType() const
void setPrimitiveType(PrimitiveType primitiveType)

Notifier signal:

void primitiveTypeChanged(PrimitiveType primitiveType)

pub fn instance_count_changed(&self) -> Signal<(c_int,)>[src]

Holds the instance count.

Returns a built-in Qt signal Qt3DRender::QGeometryRenderer::instanceCountChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the instance count.

Access functions:

int instanceCount() const
void setInstanceCount(int instanceCount)

Notifier signal:

void instanceCountChanged(int instanceCount)

pub fn vertex_count_changed(&self) -> Signal<(c_int,)>[src]

Holds the primitive count.

Returns a built-in Qt signal Qt3DRender::QGeometryRenderer::vertexCountChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the primitive count.

Access functions:

int vertexCount() const
void setVertexCount(int vertexCount)

Notifier signal:

void vertexCountChanged(int vertexCount)

pub fn index_offset_changed(&self) -> Signal<(c_int,)>[src]

Holds the base vertex.

Returns a built-in Qt signal Qt3DRender::QGeometryRenderer::indexOffsetChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the base vertex.

Access functions:

int indexOffset() const
void setIndexOffset(int indexOffset)

Notifier signal:

void indexOffsetChanged(int indexOffset)

pub fn first_instance_changed(&self) -> Signal<(c_int,)>[src]

Holds the base instance.

Returns a built-in Qt signal Qt3DRender::QGeometryRenderer::firstInstanceChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the base instance.

Access functions:

int firstInstance() const
void setFirstInstance(int firstInstance)

Notifier signal:

void firstInstanceChanged(int firstInstance)

pub fn first_vertex_changed(&self) -> Signal<(c_int,)>[src]

Holds the base vertex.

Returns a built-in Qt signal Qt3DRender::QGeometryRenderer::firstVertexChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the base vertex.

Access functions:

int firstVertex() const
void setFirstVertex(int firstVertex)

Notifier signal:

void firstVertexChanged(int firstVertex)

pub fn restart_index_value_changed(&self) -> Signal<(c_int,)>[src]

Holds the restart index.

Returns a built-in Qt signal Qt3DRender::QGeometryRenderer::restartIndexValueChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the restart index.

Access functions:

int restartIndexValue() const
void setRestartIndexValue(int index)

Notifier signal:

void restartIndexValueChanged(int restartIndexValue)

pub fn vertices_per_patch_changed(&self) -> Signal<(c_int,)>[src]

Holds vertices per patch.

Returns a built-in Qt signal Qt3DRender::QGeometryRenderer::verticesPerPatchChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds vertices per patch.

Access functions:

int verticesPerPatch() const
void setVerticesPerPatch(int verticesPerPatch)

Notifier signal:

void verticesPerPatchChanged(int verticesPerPatch)

pub fn primitive_restart_enabled_changed(&self) -> Signal<(bool,)>[src]

Holds the primitive restart flag.

Returns a built-in Qt signal Qt3DRender::QGeometryRenderer::primitiveRestartEnabledChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the primitive restart flag.

Access functions:

bool primitiveRestartEnabled() const
void setPrimitiveRestartEnabled(bool enabled)

Notifier signal:

void primitiveRestartEnabledChanged(bool primitiveRestartEnabled)

pub fn geometry_changed(&self) -> Signal<(*mut QGeometry,)>[src]

Holds the geometry.

Returns a built-in Qt signal Qt3DRender::QGeometryRenderer::geometryChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the geometry.

Access functions:

QGeometry *geometry() const
void setGeometry(QGeometry *geometry)

Notifier signal:

void geometryChanged(QGeometry *geometry)

pub fn primitive_type_changed(&self) -> Signal<(PrimitiveType,)>[src]

Holds the primitive type.

Returns a built-in Qt signal Qt3DRender::QGeometryRenderer::primitiveTypeChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the primitive type.

Access functions:

PrimitiveType primitiveType() const
void setPrimitiveType(PrimitiveType primitiveType)

Notifier signal:

void primitiveTypeChanged(PrimitiveType primitiveType)

pub unsafe fn first_instance(&self) -> c_int[src]

Holds the base instance.

Calls C++ function: int Qt3DRender::QGeometryRenderer::firstInstance() const.

C++ documentation:

Holds the base instance.

Access functions:

int firstInstance() const
void setFirstInstance(int firstInstance)

Notifier signal:

void firstInstanceChanged(int firstInstance)

pub unsafe fn first_vertex(&self) -> c_int[src]

Holds the base vertex.

Calls C++ function: int Qt3DRender::QGeometryRenderer::firstVertex() const.

C++ documentation:

Holds the base vertex.

Access functions:

int firstVertex() const
void setFirstVertex(int firstVertex)

Notifier signal:

void firstVertexChanged(int firstVertex)

pub unsafe fn geometry(&self) -> QPtr<QGeometry>[src]

Holds the geometry.

Calls C++ function: Qt3DRender::QGeometry* Qt3DRender::QGeometryRenderer::geometry() const.

C++ documentation:

Holds the geometry.

Access functions:

QGeometry *geometry() const
void setGeometry(QGeometry *geometry)

Notifier signal:

void geometryChanged(QGeometry *geometry)

pub unsafe fn index_buffer_byte_offset(&self) -> c_int[src]

This is supported on 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.

Holds the byte offset into the index buffer.

Calls C++ function: int Qt3DRender::QGeometryRenderer::indexBufferByteOffset() const.

C++ documentation:

Holds the byte offset into the index buffer.

Access functions:

int indexBufferByteOffset() const
void setIndexBufferByteOffset(int offset)

Notifier signal:

void indexBufferByteOffsetChanged(int offset)

pub unsafe fn index_buffer_byte_offset_changed(&self, offset: c_int)[src]

This is supported on 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.

Holds the byte offset into the index buffer.

Calls C++ function: void Qt3DRender::QGeometryRenderer::indexBufferByteOffsetChanged(int offset).

C++ documentation:

Holds the byte offset into the index buffer.

Access functions:

int indexBufferByteOffset() const
void setIndexBufferByteOffset(int offset)

Notifier signal:

void indexBufferByteOffsetChanged(int offset)

pub unsafe fn index_offset(&self) -> c_int[src]

Holds the base vertex.

Calls C++ function: int Qt3DRender::QGeometryRenderer::indexOffset() const.

C++ documentation:

Holds the base vertex.

Access functions:

int indexOffset() const
void setIndexOffset(int indexOffset)

Notifier signal:

void indexOffsetChanged(int indexOffset)

pub unsafe fn instance_count(&self) -> c_int[src]

Holds the instance count.

Calls C++ function: int Qt3DRender::QGeometryRenderer::instanceCount() const.

C++ documentation:

Holds the instance count.

Access functions:

int instanceCount() const
void setInstanceCount(int instanceCount)

Notifier signal:

void instanceCountChanged(int instanceCount)

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* Qt3DRender::QGeometryRenderer::metaObject() const.

pub unsafe fn primitive_restart_enabled(&self) -> bool[src]

Holds the primitive restart flag.

Calls C++ function: bool Qt3DRender::QGeometryRenderer::primitiveRestartEnabled() const.

C++ documentation:

Holds the primitive restart flag.

Access functions:

bool primitiveRestartEnabled() const
void setPrimitiveRestartEnabled(bool enabled)

Notifier signal:

void primitiveRestartEnabledChanged(bool primitiveRestartEnabled)

pub unsafe fn primitive_type(&self) -> PrimitiveType[src]

Holds the primitive type.

Calls C++ function: Qt3DRender::QGeometryRenderer::PrimitiveType Qt3DRender::QGeometryRenderer::primitiveType() const.

C++ documentation:

Holds the primitive type.

Access functions:

PrimitiveType primitiveType() const
void setPrimitiveType(PrimitiveType primitiveType)

Notifier signal:

void primitiveTypeChanged(PrimitiveType primitiveType)

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int Qt3DRender::QGeometryRenderer::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::QGeometryRenderer::qt_metacast(const char* arg1).

pub unsafe fn restart_index_value(&self) -> c_int[src]

Holds the restart index.

Calls C++ function: int Qt3DRender::QGeometryRenderer::restartIndexValue() const.

C++ documentation:

Holds the restart index.

Access functions:

int restartIndexValue() const
void setRestartIndexValue(int index)

Notifier signal:

void restartIndexValueChanged(int restartIndexValue)

pub unsafe fn set_first_instance(&self, first_instance: c_int)[src]

Holds the base instance.

Calls C++ function: [slot] void Qt3DRender::QGeometryRenderer::setFirstInstance(int firstInstance).

C++ documentation:

Holds the base instance.

Access functions:

int firstInstance() const
void setFirstInstance(int firstInstance)

Notifier signal:

void firstInstanceChanged(int firstInstance)

pub unsafe fn set_first_vertex(&self, first_vertex: c_int)[src]

Holds the base vertex.

Calls C++ function: [slot] void Qt3DRender::QGeometryRenderer::setFirstVertex(int firstVertex).

C++ documentation:

Holds the base vertex.

Access functions:

int firstVertex() const
void setFirstVertex(int firstVertex)

Notifier signal:

void firstVertexChanged(int firstVertex)

pub unsafe fn set_geometry(&self, geometry: impl CastInto<Ptr<QGeometry>>)[src]

Holds the geometry.

Calls C++ function: [slot] void Qt3DRender::QGeometryRenderer::setGeometry(Qt3DRender::QGeometry* geometry).

C++ documentation:

Holds the geometry.

Access functions:

QGeometry *geometry() const
void setGeometry(QGeometry *geometry)

Notifier signal:

void geometryChanged(QGeometry *geometry)

pub unsafe fn set_index_buffer_byte_offset(&self, offset: c_int)[src]

This is supported on 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.

Holds the byte offset into the index buffer.

Calls C++ function: void Qt3DRender::QGeometryRenderer::setIndexBufferByteOffset(int offset).

C++ documentation:

Holds the byte offset into the index buffer.

Access functions:

int indexBufferByteOffset() const
void setIndexBufferByteOffset(int offset)

Notifier signal:

void indexBufferByteOffsetChanged(int offset)

pub unsafe fn set_index_offset(&self, index_offset: c_int)[src]

Holds the base vertex.

Calls C++ function: [slot] void Qt3DRender::QGeometryRenderer::setIndexOffset(int indexOffset).

C++ documentation:

Holds the base vertex.

Access functions:

int indexOffset() const
void setIndexOffset(int indexOffset)

Notifier signal:

void indexOffsetChanged(int indexOffset)

pub unsafe fn set_instance_count(&self, instance_count: c_int)[src]

Holds the instance count.

Calls C++ function: [slot] void Qt3DRender::QGeometryRenderer::setInstanceCount(int instanceCount).

C++ documentation:

Holds the instance count.

Access functions:

int instanceCount() const
void setInstanceCount(int instanceCount)

Notifier signal:

void instanceCountChanged(int instanceCount)

pub unsafe fn set_primitive_restart_enabled(&self, enabled: bool)[src]

Holds the primitive restart flag.

Calls C++ function: [slot] void Qt3DRender::QGeometryRenderer::setPrimitiveRestartEnabled(bool enabled).

C++ documentation:

Holds the primitive restart flag.

Access functions:

bool primitiveRestartEnabled() const
void setPrimitiveRestartEnabled(bool enabled)

Notifier signal:

void primitiveRestartEnabledChanged(bool primitiveRestartEnabled)

pub unsafe fn set_primitive_type(&self, primitive_type: PrimitiveType)[src]

Holds the primitive type.

Calls C++ function: [slot] void Qt3DRender::QGeometryRenderer::setPrimitiveType(Qt3DRender::QGeometryRenderer::PrimitiveType primitiveType).

C++ documentation:

Holds the primitive type.

Access functions:

PrimitiveType primitiveType() const
void setPrimitiveType(PrimitiveType primitiveType)

Notifier signal:

void primitiveTypeChanged(PrimitiveType primitiveType)

pub unsafe fn set_restart_index_value(&self, index: c_int)[src]

Holds the restart index.

Calls C++ function: [slot] void Qt3DRender::QGeometryRenderer::setRestartIndexValue(int index).

C++ documentation:

Holds the restart index.

Access functions:

int restartIndexValue() const
void setRestartIndexValue(int index)

Notifier signal:

void restartIndexValueChanged(int restartIndexValue)

pub unsafe fn set_vertex_count(&self, vertex_count: c_int)[src]

Holds the primitive count.

Calls C++ function: [slot] void Qt3DRender::QGeometryRenderer::setVertexCount(int vertexCount).

C++ documentation:

Holds the primitive count.

Access functions:

int vertexCount() const
void setVertexCount(int vertexCount)

Notifier signal:

void vertexCountChanged(int vertexCount)

pub unsafe fn set_vertices_per_patch(&self, vertices_per_patch: c_int)[src]

Holds vertices per patch.

Calls C++ function: [slot] void Qt3DRender::QGeometryRenderer::setVerticesPerPatch(int verticesPerPatch).

C++ documentation:

Holds vertices per patch.

Access functions:

int verticesPerPatch() const
void setVerticesPerPatch(int verticesPerPatch)

Notifier signal:

void verticesPerPatchChanged(int verticesPerPatch)

pub unsafe fn vertex_count(&self) -> c_int[src]

Holds the primitive count.

Calls C++ function: int Qt3DRender::QGeometryRenderer::vertexCount() const.

C++ documentation:

Holds the primitive count.

Access functions:

int vertexCount() const
void setVertexCount(int vertexCount)

Notifier signal:

void vertexCountChanged(int vertexCount)

pub unsafe fn vertices_per_patch(&self) -> c_int[src]

Holds vertices per patch.

Calls C++ function: int Qt3DRender::QGeometryRenderer::verticesPerPatch() const.

C++ documentation:

Holds vertices per patch.

Access functions:

int verticesPerPatch() const
void setVerticesPerPatch(int verticesPerPatch)

Notifier signal:

void verticesPerPatchChanged(int verticesPerPatch)

Trait Implementations

impl CppDeletable for QMesh[src]

unsafe fn delete(&self)[src]

Calls C++ function: virtual [destructor] void Qt3DRender::QMesh::~QMesh().

impl Deref for QMesh[src]

type Target = QGeometryRenderer

The resulting type after dereferencing.

fn deref(&self) -> &QGeometryRenderer[src]

Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DRender::QMesh* ptr).

impl DynamicCast<QMesh> for QGeometryRenderer[src]

unsafe fn dynamic_cast(ptr: Ptr<QGeometryRenderer>) -> Ptr<QMesh>[src]

Calls C++ function: Qt3DRender::QMesh* dynamic_cast<Qt3DRender::QMesh*>(Qt3DRender::QGeometryRenderer* ptr).

impl DynamicCast<QMesh> for QComponent[src]

unsafe fn dynamic_cast(ptr: Ptr<QComponent>) -> Ptr<QMesh>[src]

Calls C++ function: Qt3DRender::QMesh* dynamic_cast<Qt3DRender::QMesh*>(Qt3DCore::QComponent* ptr).

impl DynamicCast<QMesh> for QNode[src]

unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QMesh>[src]

Calls C++ function: Qt3DRender::QMesh* dynamic_cast<Qt3DRender::QMesh*>(Qt3DCore::QNode* ptr).

impl DynamicCast<QMesh> for QObject[src]

unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QMesh>[src]

Calls C++ function: Qt3DRender::QMesh* dynamic_cast<Qt3DRender::QMesh*>(QObject* ptr).

impl StaticDowncast<QMesh> for QGeometryRenderer[src]

unsafe fn static_downcast(ptr: Ptr<QGeometryRenderer>) -> Ptr<QMesh>[src]

Calls C++ function: Qt3DRender::QMesh* static_cast<Qt3DRender::QMesh*>(Qt3DRender::QGeometryRenderer* ptr).

impl StaticDowncast<QMesh> for QComponent[src]

unsafe fn static_downcast(ptr: Ptr<QComponent>) -> Ptr<QMesh>[src]

Calls C++ function: Qt3DRender::QMesh* static_cast<Qt3DRender::QMesh*>(Qt3DCore::QComponent* ptr).

impl StaticDowncast<QMesh> for QNode[src]

unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QMesh>[src]

Calls C++ function: Qt3DRender::QMesh* static_cast<Qt3DRender::QMesh*>(Qt3DCore::QNode* ptr).

impl StaticDowncast<QMesh> for QObject[src]

unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QMesh>[src]

Calls C++ function: Qt3DRender::QMesh* static_cast<Qt3DRender::QMesh*>(QObject* ptr).

impl StaticUpcast<QComponent> for QMesh[src]

unsafe fn static_upcast(ptr: Ptr<QMesh>) -> Ptr<QComponent>[src]

Calls C++ function: Qt3DCore::QComponent* static_cast<Qt3DCore::QComponent*>(Qt3DRender::QMesh* ptr).

impl StaticUpcast<QGeometryRenderer> for QMesh[src]

unsafe fn static_upcast(ptr: Ptr<QMesh>) -> Ptr<QGeometryRenderer>[src]

Calls C++ function: Qt3DRender::QGeometryRenderer* static_cast<Qt3DRender::QGeometryRenderer*>(Qt3DRender::QMesh* ptr).

impl StaticUpcast<QNode> for QMesh[src]

unsafe fn static_upcast(ptr: Ptr<QMesh>) -> Ptr<QNode>[src]

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QMesh* ptr).

impl StaticUpcast<QObject> for QMesh[src]

unsafe fn static_upcast(ptr: Ptr<QMesh>) -> Ptr<QObject>[src]

Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QMesh* ptr).

Auto Trait Implementations

impl RefUnwindSafe for QMesh

impl Send for QMesh

impl Sync for QMesh

impl Unpin for QMesh

impl UnwindSafe for QMesh

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.