Joint class.
More...
#include <Joint.h>
◆ addChild()
bool AtomsCore::Joint::addChild |
( |
JointPtr |
joint | ) |
|
Adds a child joint.
- Parameters
-
◆ child() [1/2]
JointPtr AtomsCore::Joint::child |
( |
unsigned short |
i | ) |
|
Gets a child joint.
- Parameters
-
- Returns
- Child joint at index i
◆ child() [2/2]
JointCPtr AtomsCore::Joint::child |
( |
unsigned short |
i | ) |
const |
Gets a child joint.
- Parameters
-
- Returns
- Child joint at index i
◆ id()
unsigned short AtomsCore::Joint::id |
( |
| ) |
const |
|
inline |
Gets the joint id.
- Returns
- Joint id
◆ matrix()
Matrix AtomsCore::Joint::matrix |
( |
| ) |
const |
Gets the joint matrix.
- Returns
- Joint matrix
◆ name()
const std::string & AtomsCore::Joint::name |
( |
| ) |
const |
|
inline |
Gets the joint name.
- Returns
- Joint name
◆ numChildren()
unsigned short AtomsCore::Joint::numChildren |
( |
| ) |
const |
|
inline |
Gets the number of children.
- Returns
- Number of children
◆ parent() [1/2]
Gets the parent joint.
- Returns
- Parent joint
◆ parent() [2/2]
Gets the parent joint.
- Returns
- Parent joint
◆ removeChild()
bool AtomsCore::Joint::removeChild |
( |
unsigned short |
index | ) |
|
Removes a child joint.
- Parameters
-
◆ rotation()
const Quaternion & AtomsCore::Joint::rotation |
( |
| ) |
const |
|
inline |
Gets the joint rotation.
- Returns
- Quaternion Joint rotation
◆ scale()
const Vector3 & AtomsCore::Joint::scale |
( |
| ) |
const |
|
inline |
Gets the joint scale.
- Returns
- Joint scale
◆ setId()
void AtomsCore::Joint::setId |
( |
unsigned short |
id | ) |
|
|
inline |
Sets the joint id.
- Parameters
-
◆ setMatrix()
void AtomsCore::Joint::setMatrix |
( |
const Matrix & |
matrix | ) |
|
Sets the joint matrix.
- Parameters
-
◆ setName()
void AtomsCore::Joint::setName |
( |
const std::string & |
name | ) |
|
|
inline |
Sets the joint name.
- Parameters
-
◆ setParent()
void AtomsCore::Joint::setParent |
( |
JointPtr |
parent | ) |
|
|
inline |
Sets the parent joint.
- Parameters
-
◆ setRotation()
void AtomsCore::Joint::setRotation |
( |
const Quaternion & |
rotation | ) |
|
|
inline |
Sets the joint rotation.
- Parameters
-
◆ setScale()
void AtomsCore::Joint::setScale |
( |
const Vector3 & |
scale | ) |
|
|
inline |
Sets the joint scale.
- Parameters
-
◆ setTranslation()
void AtomsCore::Joint::setTranslation |
( |
const Vector3 & |
translation | ) |
|
|
inline |
Sets the joint translation.
- Parameters
-
translation | Joint translation |
◆ translation()
const Vector3 & AtomsCore::Joint::translation |
( |
| ) |
const |
|
inline |
Gets the joint translation.
- Returns
- Joint translation
The documentation for this class was generated from the following files:
- C:/projects/AtomsVFX/Atoms/Public/AtomsCore/Joint.h
- C:/projects/AtomsVFX/Atoms/Public/AtomsCore/Joint.impl.h