HDK
|
The default deformer for agents, which uses GU_LinearSkinDeformer. More...
#include <GU_AgentLinearSkinDeformer.h>
Public Types | |
enum | Method : exint { Method::Linear = 0, Method::DualQuat, Method::DualQuatBlend } |
Additional Inherited Members | |
![]() | |
SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
Destructor: Only derived classes can destruct this. More... | |
The default deformer for agents, which uses GU_LinearSkinDeformer.
Definition at line 17 of file GU_AgentLinearSkinDeformer.h.
|
strong |
Enumerator | |
---|---|
Linear | |
DualQuat | |
DualQuatBlend |
Definition at line 20 of file GU_AgentLinearSkinDeformer.h.
GU_AgentLinearSkinDeformer::GU_AgentLinearSkinDeformer | ( | Method | method = Method::Linear | ) |
|
overridevirtual |
Computes the bounding box from the joint positions as a fast approximation.
Reimplemented from GU_AgentShapeDeformer.
|
overridevirtual |
Deform the provided detail, which was unpacked from the given shape binding (shape & transform index) and agent.
The transform index can be used for deformers that need to know the shape's transform in order to perform the deformation correctly (e.g. for skinning). Deformers are not responsible for applying the transform to the geometry - this is performed after the deformer is executed. Note that the transform index may be -1 if the shape was not attached to a joint.
Implements GU_AgentShapeDeformer.