Existing functionality (normalizing and smoothing) can be included by using the existing component maxon::AutoWeightComponents::BaseClass.
class ExampleAutoWeightImpl :
public maxon::Component<ExampleAutoWeightImpl, maxon::AutoWeightInterface>
{
public:
{
const maxon::Bool boolValue =
self.GetOrDefault(maxonexample::ANIMATION::AUTOWEIGHT::EXAMPLE::ATTRIBUTE);
const maxon::Float floatvalue =
self.GetOrDefault(maxonexample::ANIMATION::AUTOWEIGHT::EXAMPLE::OTHER_ATTRIBUTE);
for (
maxon::Int jointIndex = 0; jointIndex < jointCnt; ++jointIndex)
{
}
}
};
Definition: basearray.h:451
Definition: objectbase.h:2694
Int64 Int
signed 32/64 bit int, size depends on the platform
Definition: apibase.h:196
Float64 Float
Definition: apibase.h:205
bool Bool
boolean type, possible values are only false/true, 8 bit
Definition: apibase.h:189
#define DiagnosticOutput(formatString,...)
Definition: debugdiagnostics.h:170
#define MAXON_COMPONENT(KIND,...)
Definition: objectbase.h:2234
#define MAXON_COMPONENT_CLASS_REGISTER(C,...)
Definition: objectbase.h:2432
#define MAXON_METHOD
Definition: interfacebase.h:1020
NORMAL
Definition: lib_birender.h:2
class CINEWARE_SINGLEINHERITANCE BaseDocument
Definition: customgui_inexclude.h:18
Definition: autoweight.h:113
static const ERROR_OK OK
Definition: resultbase.h:40
#define iferr_scope
Definition: resultbase.h:1636
#define iferr_return
Definition: resultbase.h:1771
Definition: autoweight.h:33
Int32 _jointCount
The amount of points in the mesh.
Definition: autoweight.h:39
Int32 _pointCount
The lock joint selection.
Definition: autoweight.h:38
The custom description of the implementation must include "net.maxon.animation.autoweight.base". The name of the implementation is set using "net.maxon.object.base.name".