#include "orconstraint_template_constraint.h"
#include "orconstraint_template_layout.h"
#define ORCONSTRAINT__CLASS ORCONSTRAINT__CLASSNAME
#define ORCONSTRAINT__NAME "Constraint Template"
#define ORCONSTRAINT__LABEL "OR - Constraint Template"
#define ORCONSTRAINT__DESC "OR - Constraint Template Description"
ORCONSTRAINT__CLASS,
ORCONSTRAINT__LABEL,
ORCONSTRAINT__DESC,
double ORConstraint_TemplateGetTempValue(
HIObject pMbObject )
{
ORConstraint_Template* pFbObject = FBCast<ORConstraint_Template>( pMbObject );
return pFbObject->mTempValue;
}
void ORConstraint_TemplateSetTempValue(
HIObject pMbObject,
double pValue )
{
ORConstraint_Template* pFbObject = FBCast<ORConstraint_Template>( pMbObject );
pFbObject->mTempValue = pValue;
}
bool ORConstraint_Template::FBCreate()
{
Deformer = false;
HasLayout = true;
Description = "Constraint Template";
mTempValue = 0;
FBPropertyPublish(
this, TempValue,
"TempValue", ORConstraint_TemplateGetTempValue, ORConstraint_TemplateSetTempValue );
return true;
}
void ORConstraint_Template::FBDestroy()
{
}
bool ORConstraint_Template::ReferenceAddNotify( int pGroupIndex, FBModel* pModel )
{
return true;
}
bool ORConstraint_Template::ReferenceRemoveNotify( int pGroupIndex, FBModel* pModel )
{
return true;
}
void ORConstraint_Template::SetupAllAnimationNodes()
{
}
void ORConstraint_Template::RemoveAllAnimationNodes()
{
}
void ORConstraint_Template::SnapSuggested()
{
}
void ORConstraint_Template::FreezeSuggested()
{
}
bool ORConstraint_Template::Disable(FBModel* pModel)
{
return FBConstraint::Disable( pModel );
}
bool ORConstraint_Template::AnimationNodeNotify(FBAnimationNode* pConnector,FBEvaluateInfo* pEvaluateInfo,FBConstraintInfo* pConstraintInfo)
{
return true;
}
bool ORConstraint_Template::DeformerNotify(FBModel* pModel,
const FBVertex* pSrcVertex,
const FBVertex* pSrcNormal,
int pCount,
FBVertex* pDstVertex,
FBVertex* pDstNormal)
{
return true;
}
bool ORConstraint_Template::FbxStore( FBFbxObject* pFbxObject,
kFbxObjectStore pStoreWhat )
{
return true;
}
bool ORConstraint_Template::FbxRetrieve( FBFbxObject* pFbxObject,
kFbxObjectStore pStoreWhat )
{
return true;
}
bool ORConstraint_Template::DeformerBind( FBModel* pModel )
{
return FBConstraint::DeformerBind( pModel );
}
bool ORConstraint_Template::DeformerUnBind( FBModel* pModel )
{
return FBConstraint::DeformerUnBind( pModel );
}
void ORConstraint_Template::FreezeSRT ( FBModel* pModel, bool pS, bool pR, bool pT )
{
FBConstraint::FreezeSRT( pModel, pS, pR, pT );
}