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.
45 lines
1.4 KiB
45 lines
1.4 KiB
//============ Copyright (c) Valve Corporation, All rights reserved. ==========
|
|
//
|
|
//=============================================================================
|
|
|
|
|
|
|
|
// Valve includes
|
|
#include "datamodel/dmelementfactoryhelper.h"
|
|
#include "mdlobjects/dmeeyelid.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( DmeEyelid, CDmeEyelid );
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
void CDmeEyelid::OnConstruction()
|
|
{
|
|
m_bUpper.Init( this, "upper" );
|
|
m_sLowererFlex.Init( this, "lowererFlex" );
|
|
m_flLowererHeight.Init( this, "lowererHeight" );
|
|
m_sNeutralFlex.Init( this, "neutralFlex" );
|
|
m_flNeutralHeight.Init( this, "neutralHeight" );
|
|
m_sRaiserFlex.Init( this, "raiserFlex" );
|
|
m_flRaiserHeight.Init( this, "raiserHeight" );
|
|
m_sRightEyeballName.Init( this, "rightEyeballName" );
|
|
m_sLeftEyeballName.Init( this, "leftEyeballName" );
|
|
}
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
void CDmeEyelid::OnDestruction()
|
|
{
|
|
}
|