RemoveJointAnimationCommand is used to remove joint animation data.
More...
#include <RemoveJointAnimationCommand.h>
RemoveJointAnimationCommand is used to remove joint animation data.
◆ RemoveJointAnimationCommand() [1/5]
dnac::RemoveJointAnimationCommand::RemoveJointAnimationCommand |
( |
MemoryResource * |
memRes = nullptr | ) |
|
|
explicit |
40 :
pImpl{makeScoped<Impl>(memRes)} {
41}
ScopedPtr< Impl > pImpl
Definition: RemoveJointAnimationCommand.h:50
◆ RemoveJointAnimationCommand() [2/5]
dnac::RemoveJointAnimationCommand::RemoveJointAnimationCommand |
( |
std::uint16_t |
jointIndex, |
|
|
MemoryResource * |
memRes = nullptr |
|
) |
| |
43 :
44 pImpl{makeScoped<Impl>(memRes)} {
45
46 pImpl->setJointIndex(jointIndex);
47}
References pImpl.
◆ RemoveJointAnimationCommand() [3/5]
dnac::RemoveJointAnimationCommand::RemoveJointAnimationCommand |
( |
ConstArrayView< std::uint16_t > |
jointIndices, |
|
|
MemoryResource * |
memRes = nullptr |
|
) |
| |
49 :
50 pImpl{makeScoped<Impl>(memRes)} {
51
52 pImpl->setJointIndices(jointIndices);
53}
References pImpl.
◆ ~RemoveJointAnimationCommand()
dnac::RemoveJointAnimationCommand::~RemoveJointAnimationCommand |
( |
| ) |
|
|
default |
◆ RemoveJointAnimationCommand() [4/5]
◆ RemoveJointAnimationCommand() [5/5]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ run()
◆ setJointIndex()
void dnac::RemoveJointAnimationCommand::setJointIndex |
( |
std::uint16_t |
jointIndex | ) |
|
Method for setting the index of a joint whose animation data to remove.
- Parameters
-
jointIndex | The index of the joint. |
- Note
- Call to either setter overwrites previous setter calls. When running the command, the last set joint animation(s) will be removed.
59 {
60 pImpl->setJointIndex(jointIndex);
61}
References pImpl.
◆ setJointIndices()
void dnac::RemoveJointAnimationCommand::setJointIndices |
( |
ConstArrayView< std::uint16_t > |
jointIndices | ) |
|
Method for setting the indices of joints whose animation data to remove.
- Parameters
-
jointIndices | The joint indices. |
- Note
- Call to either setter overwrites previous setter calls. When running the command, the last set joint animation(s) will be removed.
63 {
64 pImpl->setJointIndices(jointIndices);
65}
References pImpl.
◆ pImpl
The documentation for this class was generated from the following files: