[−][src]Struct qt_3d_extras::QAbstractSpriteSheet
C++ class: Qt3DExtras::QAbstractSpriteSheet
.
Methods
impl QAbstractSpriteSheet
[src]
pub fn slot_set_texture(&self) -> Receiver<(*mut QAbstractTexture,)>
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Holds the current texture used by the material.
Returns a built-in Qt slot Qt3DExtras::QAbstractSpriteSheet::setTexture
that can be passed to qt_core::Signal::connect
.
Holds the current texture used by the material.
Access functions:
Qt3DRender::QAbstractTexture * | texture() const |
void | setTexture(Qt3DRender::QAbstractTexture *texture) |
Notifier signal:
void | textureChanged(Qt3DRender::QAbstractTexture *texture) |
pub fn slot_set_current_index(&self) -> Receiver<(c_int,)>
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Access functions:
Returns a built-in Qt slot Qt3DExtras::QAbstractSpriteSheet::setCurrentIndex
that can be passed to qt_core::Signal::connect
.
Access functions:
int | currentIndex() const |
void | setCurrentIndex(int currentIndex) |
Notifier signal:
void | currentIndexChanged(int currentIndex) |
pub fn texture_changed(&self) -> Signal<(*mut QAbstractTexture,)>
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Holds the current texture used by the material.
Returns a built-in Qt signal Qt3DExtras::QAbstractSpriteSheet::textureChanged
that can be passed to qt_core::Signal::connect
.
Holds the current texture used by the material.
Access functions:
Qt3DRender::QAbstractTexture * | texture() const |
void | setTexture(Qt3DRender::QAbstractTexture *texture) |
Notifier signal:
void | textureChanged(Qt3DRender::QAbstractTexture *texture) |
pub fn current_index_changed(&self) -> Signal<(c_int,)>
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Access functions:
Returns a built-in Qt signal Qt3DExtras::QAbstractSpriteSheet::currentIndexChanged
that can be passed to qt_core::Signal::connect
.
Access functions:
int | currentIndex() const |
void | setCurrentIndex(int currentIndex) |
Notifier signal:
void | currentIndexChanged(int currentIndex) |
pub unsafe fn current_index(&self) -> c_int
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Access functions:
Calls C++ function: int Qt3DExtras::QAbstractSpriteSheet::currentIndex() const
.
Access functions:
int | currentIndex() const |
void | setCurrentIndex(int currentIndex) |
Notifier signal:
void | currentIndexChanged(int currentIndex) |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: virtual const QMetaObject* Qt3DExtras::QAbstractSpriteSheet::metaObject() const
.
pub unsafe fn qt_metacall(
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
[src]
&self,
arg1: Call,
arg2: c_int,
arg3: *mut *mut c_void
) -> c_int
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: virtual int Qt3DExtras::QAbstractSpriteSheet::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: virtual void* Qt3DExtras::QAbstractSpriteSheet::qt_metacast(const char* arg1)
.
pub unsafe fn set_current_index(&self, current_index: c_int)
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Access functions:
Calls C++ function: [slot] void Qt3DExtras::QAbstractSpriteSheet::setCurrentIndex(int currentIndex)
.
Access functions:
int | currentIndex() const |
void | setCurrentIndex(int currentIndex) |
Notifier signal:
void | currentIndexChanged(int currentIndex) |
pub unsafe fn set_texture(&self, texture: impl CastInto<Ptr<QAbstractTexture>>)
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Holds the current texture used by the material.
Calls C++ function: [slot] void Qt3DExtras::QAbstractSpriteSheet::setTexture(Qt3DRender::QAbstractTexture* texture)
.
Holds the current texture used by the material.
Access functions:
Qt3DRender::QAbstractTexture * | texture() const |
void | setTexture(Qt3DRender::QAbstractTexture *texture) |
Notifier signal:
void | textureChanged(Qt3DRender::QAbstractTexture *texture) |
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Returns a reference to the staticMetaObject
field.
pub unsafe fn texture(&self) -> QPtr<QAbstractTexture>
[src]
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Holds the current texture used by the material.
Calls C++ function: Qt3DRender::QAbstractTexture* Qt3DExtras::QAbstractSpriteSheet::texture() const
.
Holds the current texture used by the material.
Access functions:
Qt3DRender::QAbstractTexture * | texture() const |
void | setTexture(Qt3DRender::QAbstractTexture *texture) |
Notifier signal:
void | textureChanged(Qt3DRender::QAbstractTexture *texture) |
pub unsafe fn tr(
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
[src]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: static QString Qt3DExtras::QAbstractSpriteSheet::tr(const char* s, const char* c, int n)
.
pub unsafe fn tr_utf8(
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
[src]
s: *const c_char,
c: *const c_char,
n: c_int
) -> CppBox<QString>
cpp_lib_version="5.11.3"
or cpp_lib_version="5.12.2"
or cpp_lib_version="5.13.0"
or cpp_lib_version="5.14.0"
only.Calls C++ function: static QString Qt3DExtras::QAbstractSpriteSheet::trUtf8(const char* s, const char* c, int n)
.
Trait Implementations
impl CppDeletable for QAbstractSpriteSheet
[src]
unsafe fn delete(&self)
[src]
Destroys the instance of QAbstractSpriteSheet. The destructor is virtual.
Calls C++ function: virtual [destructor] void Qt3DExtras::QAbstractSpriteSheet::~QAbstractSpriteSheet()
.
Destroys the instance of QAbstractSpriteSheet. The destructor is virtual.
impl Deref for QAbstractSpriteSheet
[src]
type Target = QNode
The resulting type after dereferencing.
fn deref(&self) -> &QNode
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QAbstractSpriteSheet* ptr)
.
impl DynamicCast<QAbstractSpriteSheet> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QAbstractSpriteSheet>
[src]
Calls C++ function: Qt3DExtras::QAbstractSpriteSheet* dynamic_cast<Qt3DExtras::QAbstractSpriteSheet*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QAbstractSpriteSheet> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QAbstractSpriteSheet>
[src]
Calls C++ function: Qt3DExtras::QAbstractSpriteSheet* dynamic_cast<Qt3DExtras::QAbstractSpriteSheet*>(QObject* ptr)
.
impl DynamicCast<QSpriteGrid> for QAbstractSpriteSheet
[src]
unsafe fn dynamic_cast(ptr: Ptr<QAbstractSpriteSheet>) -> Ptr<QSpriteGrid>
[src]
Calls C++ function: Qt3DExtras::QSpriteGrid* dynamic_cast<Qt3DExtras::QSpriteGrid*>(Qt3DExtras::QAbstractSpriteSheet* ptr)
.
impl DynamicCast<QSpriteSheet> for QAbstractSpriteSheet
[src]
unsafe fn dynamic_cast(ptr: Ptr<QAbstractSpriteSheet>) -> Ptr<QSpriteSheet>
[src]
Calls C++ function: Qt3DExtras::QSpriteSheet* dynamic_cast<Qt3DExtras::QSpriteSheet*>(Qt3DExtras::QAbstractSpriteSheet* ptr)
.
impl StaticDowncast<QAbstractSpriteSheet> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QAbstractSpriteSheet>
[src]
Calls C++ function: Qt3DExtras::QAbstractSpriteSheet* static_cast<Qt3DExtras::QAbstractSpriteSheet*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QAbstractSpriteSheet> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QAbstractSpriteSheet>
[src]
Calls C++ function: Qt3DExtras::QAbstractSpriteSheet* static_cast<Qt3DExtras::QAbstractSpriteSheet*>(QObject* ptr)
.
impl StaticDowncast<QSpriteGrid> for QAbstractSpriteSheet
[src]
unsafe fn static_downcast(ptr: Ptr<QAbstractSpriteSheet>) -> Ptr<QSpriteGrid>
[src]
Calls C++ function: Qt3DExtras::QSpriteGrid* static_cast<Qt3DExtras::QSpriteGrid*>(Qt3DExtras::QAbstractSpriteSheet* ptr)
.
impl StaticDowncast<QSpriteSheet> for QAbstractSpriteSheet
[src]
unsafe fn static_downcast(ptr: Ptr<QAbstractSpriteSheet>) -> Ptr<QSpriteSheet>
[src]
Calls C++ function: Qt3DExtras::QSpriteSheet* static_cast<Qt3DExtras::QSpriteSheet*>(Qt3DExtras::QAbstractSpriteSheet* ptr)
.
impl StaticUpcast<QAbstractSpriteSheet> for QSpriteGrid
[src]
unsafe fn static_upcast(ptr: Ptr<QSpriteGrid>) -> Ptr<QAbstractSpriteSheet>
[src]
Calls C++ function: Qt3DExtras::QAbstractSpriteSheet* static_cast<Qt3DExtras::QAbstractSpriteSheet*>(Qt3DExtras::QSpriteGrid* ptr)
.
impl StaticUpcast<QAbstractSpriteSheet> for QSpriteSheet
[src]
unsafe fn static_upcast(ptr: Ptr<QSpriteSheet>) -> Ptr<QAbstractSpriteSheet>
[src]
Calls C++ function: Qt3DExtras::QAbstractSpriteSheet* static_cast<Qt3DExtras::QAbstractSpriteSheet*>(Qt3DExtras::QSpriteSheet* ptr)
.
impl StaticUpcast<QNode> for QAbstractSpriteSheet
[src]
unsafe fn static_upcast(ptr: Ptr<QAbstractSpriteSheet>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QAbstractSpriteSheet* ptr)
.
impl StaticUpcast<QObject> for QAbstractSpriteSheet
[src]
unsafe fn static_upcast(ptr: Ptr<QAbstractSpriteSheet>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DExtras::QAbstractSpriteSheet* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QAbstractSpriteSheet
impl Send for QAbstractSpriteSheet
impl Sync for QAbstractSpriteSheet
impl Unpin for QAbstractSpriteSheet
impl UnwindSafe for QAbstractSpriteSheet
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,