[−][src]Struct qt_3d_extras::QAbstractSpriteSheet
C++ class: Qt3DExtras::QAbstractSpriteSheet
.
Methods
impl QAbstractSpriteSheet
[src]
pub fn slot_set_texture(&self) -> Receiver<(*mut QAbstractTexture,)>
[src]
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0")
.
pub fn slot_set_current_index(&self) -> Receiver<(c_int,)>
[src]
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0")
.
pub fn texture_changed(&self) -> Signal<(*mut QAbstractTexture,)>
[src]
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0")
.
pub fn current_index_changed(&self) -> Signal<(c_int,)>
[src]
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0")
.
pub unsafe fn current_index(&self) -> c_int
[src]
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0")
.
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DExtras::QAbstractSpriteSheet::metaObject() const
.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0")
.
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::QAbstractSpriteSheet::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0")
.
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::QAbstractSpriteSheet::qt_metacast(const char* arg1)
.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0")
.
pub unsafe fn set_current_index(&mut self, current_index: c_int)
[src]
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0")
.
pub unsafe fn set_texture(
&mut self,
texture: impl CastInto<MutPtr<QAbstractTexture>>
)
[src]
&mut self,
texture: impl CastInto<MutPtr<QAbstractTexture>>
)
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0")
.
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0")
.
pub unsafe fn texture(&self) -> MutPtr<QAbstractTexture>
[src]
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0")
.
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::QAbstractSpriteSheet::tr(const char* s, const char* c, int n)
.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0")
.
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::QAbstractSpriteSheet::trUtf8(const char* s, const char* c, int n)
.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0")
.
Trait Implementations
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 DerefMut for QAbstractSpriteSheet
[src]
fn deref_mut(&mut self) -> &mut QNode
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DExtras::QAbstractSpriteSheet* 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)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QAbstractSpriteSheet>) -> MutPtr<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)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QAbstractSpriteSheet>
) -> MutPtr<QObject>
[src]
ptr: MutPtr<QAbstractSpriteSheet>
) -> MutPtr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(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)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QSpriteGrid>
) -> MutPtr<QAbstractSpriteSheet>
[src]
ptr: MutPtr<QSpriteGrid>
) -> MutPtr<QAbstractSpriteSheet>
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)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QSpriteSheet>
) -> MutPtr<QAbstractSpriteSheet>
[src]
ptr: MutPtr<QSpriteSheet>
) -> MutPtr<QAbstractSpriteSheet>
Calls C++ function: Qt3DExtras::QAbstractSpriteSheet* static_cast<Qt3DExtras::QAbstractSpriteSheet*>(Qt3DExtras::QSpriteSheet* 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)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QNode>
) -> MutPtr<QAbstractSpriteSheet>
[src]
ptr: MutPtr<QNode>
) -> MutPtr<QAbstractSpriteSheet>
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)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QObject>
) -> MutPtr<QAbstractSpriteSheet>
[src]
ptr: MutPtr<QObject>
) -> MutPtr<QAbstractSpriteSheet>
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)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QAbstractSpriteSheet>
) -> MutPtr<QSpriteGrid>
[src]
ptr: MutPtr<QAbstractSpriteSheet>
) -> MutPtr<QSpriteGrid>
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)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QAbstractSpriteSheet>
) -> MutPtr<QSpriteSheet>
[src]
ptr: MutPtr<QAbstractSpriteSheet>
) -> MutPtr<QSpriteSheet>
Calls C++ function: Qt3DExtras::QSpriteSheet* static_cast<Qt3DExtras::QSpriteSheet*>(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)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QNode>) -> MutPtr<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)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<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)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QAbstractSpriteSheet>
) -> MutPtr<QSpriteGrid>
[src]
ptr: MutPtr<QAbstractSpriteSheet>
) -> MutPtr<QSpriteGrid>
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)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QAbstractSpriteSheet>
) -> MutPtr<QSpriteSheet>
[src]
ptr: MutPtr<QAbstractSpriteSheet>
) -> MutPtr<QSpriteSheet>
Calls C++ function: Qt3DExtras::QSpriteSheet* dynamic_cast<Qt3DExtras::QSpriteSheet*>(Qt3DExtras::QAbstractSpriteSheet* ptr)
.
impl CppDeletable for QAbstractSpriteSheet
[src]
Auto Trait Implementations
impl Send for QAbstractSpriteSheet
impl Sync for QAbstractSpriteSheet
impl Unpin for QAbstractSpriteSheet
impl UnwindSafe for QAbstractSpriteSheet
impl RefUnwindSafe for QAbstractSpriteSheet
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,