mirror of
https://github.com/overte-org/overte.git
synced 2025-07-29 16:20:00 +02:00
Merge pull request #16199 from sabrina-shanman/instancing_shape
Make fields for TransformNode, Deformer, DynamicTransform public
This commit is contained in:
commit
bbe9e6fc61
1 changed files with 3 additions and 0 deletions
|
@ -288,17 +288,20 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
class TransformNode {
|
class TransformNode {
|
||||||
|
public:
|
||||||
uint32_t parent { 0 };
|
uint32_t parent { 0 };
|
||||||
Transform transform;
|
Transform transform;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Formerly contained in hfm::Mesh
|
// Formerly contained in hfm::Mesh
|
||||||
class Deformer {
|
class Deformer {
|
||||||
|
public:
|
||||||
std::vector<uint16_t> indices;
|
std::vector<uint16_t> indices;
|
||||||
std::vector<uint16_t> weights;
|
std::vector<uint16_t> weights;
|
||||||
};
|
};
|
||||||
|
|
||||||
class DynamicTransform {
|
class DynamicTransform {
|
||||||
|
public:
|
||||||
std::vector<uint32_t> deformers;
|
std::vector<uint32_t> deformers;
|
||||||
std::vector<Cluster> clusters; // affect the deformer of the same index
|
std::vector<Cluster> clusters; // affect the deformer of the same index
|
||||||
std::vector<uint32_t> blendshapes;
|
std::vector<uint32_t> blendshapes;
|
||||||
|
|
Loading…
Reference in a new issue