[−][src]Struct qt_3d_core::QSkeletonLoader
Used to load a skeleton of joints from file.
C++ class: Qt3DCore::QSkeletonLoader
.
Used to load a skeleton of joints from file.
Use SkeletonLoader if you wish to load a whole skeleton from file rather than creating the joints yourself using Skeleton and Joints. Creating a skeleton and binding the vertices of a mesh to the skeleton is most easily performed in a 3D digital content creation tool such as Blender. The resulting skeleton and mesh can then be exported in a suitable format such as glTF 2 for consumption by Qt 3D.
Methods
impl QSkeletonLoader
[src]
pub fn slot_set_source(&self) -> Receiver<(*const QUrl,)>
[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 source url from which to load the skeleton.
Returns a built-in Qt slot Qt3DCore::QSkeletonLoader::setSource
that can be passed to qt_core::Signal::connect
.
Holds the source url from which to load the skeleton.
Access functions:
QUrl | source() const |
void | setSource(const QUrl &source) |
Notifier signal:
void | sourceChanged(const QUrl &source) |
pub fn slot_set_create_joints_enabled(&self) -> Receiver<(bool,)>
[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 Qt3DCore::QSkeletonLoader::setCreateJointsEnabled
that can be passed to qt_core::Signal::connect
.
Access functions:
bool | isCreateJointsEnabled() const |
void | setCreateJointsEnabled(bool enabled) |
Notifier signal:
void | createJointsEnabledChanged(bool createJointsEnabled) |
pub fn source_changed(&self) -> Signal<(*const QUrl,)>
[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 source url from which to load the skeleton.
Returns a built-in Qt signal Qt3DCore::QSkeletonLoader::sourceChanged
that can be passed to qt_core::Signal::connect
.
Holds the source url from which to load the skeleton.
Access functions:
QUrl | source() const |
void | setSource(const QUrl &source) |
Notifier signal:
void | sourceChanged(const QUrl &source) |
pub fn status_changed(&self) -> Signal<(Status,)>
[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 status of skeleton loading.
Returns a built-in Qt signal Qt3DCore::QSkeletonLoader::statusChanged
that can be passed to qt_core::Signal::connect
.
Holds the current status of skeleton loading.
Access functions:
Qt3DCore::QSkeletonLoader::Status | status() const |
Notifier signal:
void | statusChanged(Qt3DCore::QSkeletonLoader::Status status) |
pub fn create_joints_enabled_changed(&self) -> Signal<(bool,)>
[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 Qt3DCore::QSkeletonLoader::createJointsEnabledChanged
that can be passed to qt_core::Signal::connect
.
Access functions:
bool | isCreateJointsEnabled() const |
void | setCreateJointsEnabled(bool enabled) |
Notifier signal:
void | createJointsEnabledChanged(bool createJointsEnabled) |
pub fn root_joint_changed(&self) -> Signal<(*mut QJoint,)>
[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 Qt3DCore::QSkeletonLoader::rootJointChanged
that can be passed to qt_core::Signal::connect
.
Access functions:
Qt3DCore::QJoint * | rootJoint() const |
Notifier signal:
void | rootJointChanged(Qt3DCore::QJoint *rootJoint) |
pub unsafe fn is_create_joints_enabled(&self) -> bool
[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: bool Qt3DCore::QSkeletonLoader::isCreateJointsEnabled() const
.
Access functions:
bool | isCreateJointsEnabled() const |
void | setCreateJointsEnabled(bool enabled) |
Notifier signal:
void | createJointsEnabledChanged(bool createJointsEnabled) |
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* Qt3DCore::QSkeletonLoader::metaObject() const
.
pub unsafe fn from_q_node(
parent: impl CastInto<Ptr<QNode>>
) -> QBox<QSkeletonLoader>
[src]
parent: impl CastInto<Ptr<QNode>>
) -> QBox<QSkeletonLoader>
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.Constructs a new QSkeletonLoader with parent.
Calls C++ function: [constructor] void Qt3DCore::QSkeletonLoader::QSkeletonLoader(Qt3DCore::QNode* parent = …)
.
Constructs a new QSkeletonLoader with parent.
pub unsafe fn from_q_url_q_node(
source: impl CastInto<Ref<QUrl>>,
parent: impl CastInto<Ptr<QNode>>
) -> QBox<QSkeletonLoader>
[src]
source: impl CastInto<Ref<QUrl>>,
parent: impl CastInto<Ptr<QNode>>
) -> QBox<QSkeletonLoader>
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.Constructs a new QSkeletonLoader with parent and sets the source.
Calls C++ function: [constructor] void Qt3DCore::QSkeletonLoader::QSkeletonLoader(const QUrl& source, Qt3DCore::QNode* parent = …)
.
Constructs a new QSkeletonLoader with parent and sets the source.
pub unsafe fn new() -> QBox<QSkeletonLoader>
[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.Used to load a skeleton of joints from file.
Calls C++ function: [constructor] void Qt3DCore::QSkeletonLoader::QSkeletonLoader()
.
Used to load a skeleton of joints from file.
Use SkeletonLoader if you wish to load a whole skeleton from file rather than creating the joints yourself using Skeleton and Joints. Creating a skeleton and binding the vertices of a mesh to the skeleton is most easily performed in a 3D digital content creation tool such as Blender. The resulting skeleton and mesh can then be exported in a suitable format such as glTF 2 for consumption by Qt 3D.
pub unsafe fn from_q_url(
source: impl CastInto<Ref<QUrl>>
) -> QBox<QSkeletonLoader>
[src]
source: impl CastInto<Ref<QUrl>>
) -> QBox<QSkeletonLoader>
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.Constructs a new QSkeletonLoader with parent and sets the source.
Calls C++ function: [constructor] void Qt3DCore::QSkeletonLoader::QSkeletonLoader(const QUrl& source)
.
Constructs a new QSkeletonLoader with parent and sets the source.
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 Qt3DCore::QSkeletonLoader::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* Qt3DCore::QSkeletonLoader::qt_metacast(const char* arg1)
.
pub unsafe fn root_joint(&self) -> QPtr<QJoint>
[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: Qt3DCore::QJoint* Qt3DCore::QSkeletonLoader::rootJoint() const
.
Access functions:
Qt3DCore::QJoint * | rootJoint() const |
Notifier signal:
void | rootJointChanged(Qt3DCore::QJoint *rootJoint) |
pub unsafe fn set_create_joints_enabled(&self, enabled: bool)
[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 Qt3DCore::QSkeletonLoader::setCreateJointsEnabled(bool enabled)
.
Access functions:
bool | isCreateJointsEnabled() const |
void | setCreateJointsEnabled(bool enabled) |
Notifier signal:
void | createJointsEnabledChanged(bool createJointsEnabled) |
pub unsafe fn set_source(&self, source: impl CastInto<Ref<QUrl>>)
[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 source url from which to load the skeleton.
Calls C++ function: [slot] void Qt3DCore::QSkeletonLoader::setSource(const QUrl& source)
.
Holds the source url from which to load the skeleton.
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]
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 source url from which to load the skeleton.
Calls C++ function: QUrl Qt3DCore::QSkeletonLoader::source() const
.
Holds the source url from which to load the skeleton.
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]
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 status(&self) -> Status
[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 status of skeleton loading.
Calls C++ function: Qt3DCore::QSkeletonLoader::Status Qt3DCore::QSkeletonLoader::status() const
.
Holds the current status of skeleton loading.
Access functions:
Qt3DCore::QSkeletonLoader::Status | status() const |
Notifier signal:
void | statusChanged(Qt3DCore::QSkeletonLoader::Status status) |
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 Qt3DCore::QSkeletonLoader::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 Qt3DCore::QSkeletonLoader::trUtf8(const char* s, const char* c, int n)
.
Methods from Deref<Target = QAbstractSkeleton>
pub fn joint_count_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.Holds the number of joints contained in the skeleton
Returns a built-in Qt signal Qt3DCore::QAbstractSkeleton::jointCountChanged
that can be passed to qt_core::Signal::connect
.
Holds the number of joints contained in the skeleton
Access functions:
int | jointCount() const |
Notifier signal:
void | jointCountChanged(int jointCount) |
pub unsafe fn joint_count(&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.Holds the number of joints contained in the skeleton
Calls C++ function: int Qt3DCore::QAbstractSkeleton::jointCount() const
.
Holds the number of joints contained in the skeleton
Access functions:
int | jointCount() const |
Notifier signal:
void | jointCountChanged(int jointCount) |
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* Qt3DCore::QAbstractSkeleton::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 Qt3DCore::QAbstractSkeleton::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* Qt3DCore::QAbstractSkeleton::qt_metacast(const char* arg1)
.
Trait Implementations
impl CppDeletable for QSkeletonLoader
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: virtual [destructor] void Qt3DCore::QSkeletonLoader::~QSkeletonLoader()
.
impl Deref for QSkeletonLoader
[src]
type Target = QAbstractSkeleton
The resulting type after dereferencing.
fn deref(&self) -> &QAbstractSkeleton
[src]
Calls C++ function: Qt3DCore::QAbstractSkeleton* static_cast<Qt3DCore::QAbstractSkeleton*>(Qt3DCore::QSkeletonLoader* ptr)
.
impl DynamicCast<QSkeletonLoader> for QAbstractSkeleton
[src]
unsafe fn dynamic_cast(ptr: Ptr<QAbstractSkeleton>) -> Ptr<QSkeletonLoader>
[src]
Calls C++ function: Qt3DCore::QSkeletonLoader* dynamic_cast<Qt3DCore::QSkeletonLoader*>(Qt3DCore::QAbstractSkeleton* ptr)
.
impl DynamicCast<QSkeletonLoader> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QSkeletonLoader>
[src]
Calls C++ function: Qt3DCore::QSkeletonLoader* dynamic_cast<Qt3DCore::QSkeletonLoader*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QSkeletonLoader> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QSkeletonLoader>
[src]
Calls C++ function: Qt3DCore::QSkeletonLoader* dynamic_cast<Qt3DCore::QSkeletonLoader*>(QObject* ptr)
.
impl StaticDowncast<QSkeletonLoader> for QAbstractSkeleton
[src]
unsafe fn static_downcast(ptr: Ptr<QAbstractSkeleton>) -> Ptr<QSkeletonLoader>
[src]
Calls C++ function: Qt3DCore::QSkeletonLoader* static_cast<Qt3DCore::QSkeletonLoader*>(Qt3DCore::QAbstractSkeleton* ptr)
.
impl StaticDowncast<QSkeletonLoader> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QSkeletonLoader>
[src]
Calls C++ function: Qt3DCore::QSkeletonLoader* static_cast<Qt3DCore::QSkeletonLoader*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QSkeletonLoader> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QSkeletonLoader>
[src]
Calls C++ function: Qt3DCore::QSkeletonLoader* static_cast<Qt3DCore::QSkeletonLoader*>(QObject* ptr)
.
impl StaticUpcast<QAbstractSkeleton> for QSkeletonLoader
[src]
unsafe fn static_upcast(ptr: Ptr<QSkeletonLoader>) -> Ptr<QAbstractSkeleton>
[src]
Calls C++ function: Qt3DCore::QAbstractSkeleton* static_cast<Qt3DCore::QAbstractSkeleton*>(Qt3DCore::QSkeletonLoader* ptr)
.
impl StaticUpcast<QNode> for QSkeletonLoader
[src]
unsafe fn static_upcast(ptr: Ptr<QSkeletonLoader>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DCore::QSkeletonLoader* ptr)
.
impl StaticUpcast<QObject> for QSkeletonLoader
[src]
unsafe fn static_upcast(ptr: Ptr<QSkeletonLoader>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DCore::QSkeletonLoader* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QSkeletonLoader
impl Send for QSkeletonLoader
impl Sync for QSkeletonLoader
impl Unpin for QSkeletonLoader
impl UnwindSafe for QSkeletonLoader
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>,