source-engine/public/mdlobjects/dmebonemasklist.h

44 lines
1.1 KiB
C
Raw Normal View History

2020-04-22 16:56:21 +00:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// A list of DmeBoneMask elements, representing multiple QC $WeightList's
//
//===========================================================================//
#ifndef DMEBONEMASKLIST_H
#define DMEBONEMASKLIST_H
#ifdef _WIN32
#pragma once
#endif
#include "datamodel/dmattributevar.h"
#include "mdlobjects/dmemdllist.h"
//-----------------------------------------------------------------------------
// Forward Declarations
//-----------------------------------------------------------------------------
class CDmeBoneMask;
//-----------------------------------------------------------------------------
// A class representing a list of bone masks
//-----------------------------------------------------------------------------
class CDmeBoneMaskList : public CDmeMdlList
{
DEFINE_ELEMENT( CDmeBoneMaskList, CDmeMdlList );
public:
virtual CDmAttribute *GetListAttr() { return m_BoneMasks.GetAttribute(); }
private:
CDmaElementArray< CDmeBoneMask > m_BoneMasks;
};
#endif // DMEBONEMASKLIST_H