41 lines
1.2 KiB
C++
41 lines
1.2 KiB
C++
//============ Copyright (c) Valve Corporation, All rights reserved. ==========
|
|
//
|
|
//=============================================================================
|
|
|
|
|
|
|
|
// Valve includes
|
|
#include "datamodel/dmelementfactoryhelper.h"
|
|
#include "mdlobjects/dmemouth.h"
|
|
#include "movieobjects/dmedag.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( DmeMouth, CDmeMouth );
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
void CDmeMouth::OnConstruction()
|
|
{
|
|
m_nMouthNumber.Init( this, "mouthNumber" );
|
|
m_sFlexControllerName.Init( this, "flexControllerName" );
|
|
m_sBoneName.Init( this, "boneName" );
|
|
m_vForward.Init( this, "forward" );
|
|
}
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
void CDmeMouth::OnDestruction()
|
|
{
|
|
}
|