You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.2 KiB
38 lines
1.2 KiB
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// A list of DmeBoneWeight elements, replacing QC's $WeightList
|
||
|
//
|
||
|
//===========================================================================//
|
||
|
|
||
|
|
||
|
#include "datamodel/dmelementfactoryhelper.h"
|
||
|
#include "mdlobjects/dmeboneweight.h"
|
||
|
#include "mdlobjects/dmebonemask.h"
|
||
|
|
||
|
|
||
|
// memdbgon must be the last include file in a .cpp file!!!
|
||
|
#include "tier0/memdbgon.h"
|
||
|
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Expose this class to the scene database
|
||
|
//-----------------------------------------------------------------------------
|
||
|
IMPLEMENT_ELEMENT_FACTORY( DmeBoneMask, CDmeBoneMask );
|
||
|
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
//
|
||
|
//-----------------------------------------------------------------------------
|
||
|
void CDmeBoneMask::OnConstruction()
|
||
|
{
|
||
|
m_BoneWeights.Init( this, "boneWeights" );
|
||
|
m_bDefault.InitAndSet( this, "default", false );
|
||
|
}
|
||
|
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
//
|
||
|
//-----------------------------------------------------------------------------
|
||
|
void CDmeBoneMask::OnDestruction()
|
||
|
{
|
||
|
}
|