HDK
|
#include <GU_AgentLayer.h>
Public Member Functions | |
ShapeBinding () | |
ShapeBinding (const GU_AgentShapeLib &lib, const NameType &name, const ShapePtr &shape, GA_Offset offset, int transform_id, const GU_AgentShapeDeformerConstPtr &deformer, const UT_BoundingBoxF &bounds, const UT_Vector3F &bounds_scale) | |
bool | operator== (const ShapeBinding &) const |
int64 | getMemoryUsage (bool inclusive) const |
GA_Offset | offset () const |
int | transformId () const |
bool | isAttachedToTransform () const |
const UT_BoundingBoxF & | bounds () const |
const UT_Vector3F & | boundsScale () const |
bool | isDeforming () const |
const GU_AgentShapeDeformerConstPtr & | deformer () const |
bool | save (UT_JSONWriter &w, const GU_AgentRig &rig) const |
const NameType & | shapeName () const |
int | shapeId () const |
ShapePtr | shape () const |
bool | isDirty (const GU_AgentShapeLib &lib) const |
Static Public Member Functions | |
static bool | load (UT_JSONParser &p, ShapeBindingData &data, int version) |
Static Public Attributes | |
static constexpr int | INVALID_TRANSFORM_ID = -1 |
Definition at line 68 of file GU_AgentLayer.h.
|
inline |
Definition at line 71 of file GU_AgentLayer.h.
|
inline |
Definition at line 83 of file GU_AgentLayer.h.
|
inline |
Definition at line 114 of file GU_AgentLayer.h.
|
inline |
Definition at line 115 of file GU_AgentLayer.h.
|
inline |
Definition at line 118 of file GU_AgentLayer.h.
int64 GU_AgentLayer::ShapeBinding::getMemoryUsage | ( | bool | inclusive | ) | const |
|
inline |
The transform is optional, which is typically used for deforming shapes. For static shapes, this means that they'll only be transformed by the agent's overall transform.
Definition at line 112 of file GU_AgentLayer.h.
|
inline |
Definition at line 117 of file GU_AgentLayer.h.
bool GU_AgentLayer::ShapeBinding::isDirty | ( | const GU_AgentShapeLib & | lib | ) | const |
|
static |
|
inline |
Definition at line 106 of file GU_AgentLayer.h.
bool GU_AgentLayer::ShapeBinding::operator== | ( | const ShapeBinding & | ) | const |
bool GU_AgentLayer::ShapeBinding::save | ( | UT_JSONWriter & | w, |
const GU_AgentRig & | rig | ||
) | const |
|
inline |
Definition at line 126 of file GU_AgentLayer.h.
|
inline |
Definition at line 125 of file GU_AgentLayer.h.
|
inline |
Definition at line 124 of file GU_AgentLayer.h.
|
inline |
Definition at line 108 of file GU_AgentLayer.h.
|
static |
Definition at line 131 of file GU_AgentLayer.h.