blob: b781cf775028ddfaa72eeb08ebb272d9d9a58853 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Dme version of a model attachment point
//
//===========================================================================//
#ifndef DMEATTACHMENT_H
#define DMEATTACHMENT_H
#ifdef _WIN32
#pragma once
#endif
#include "movieobjects/dmeshape.h"
#include "materialsystem/MaterialSystemUtil.h"
//-----------------------------------------------------------------------------
// Forward Declarations
//-----------------------------------------------------------------------------
class CDmeDrawSettings;
//-----------------------------------------------------------------------------
// A class representing an attachment point
//-----------------------------------------------------------------------------
class CDmeAttachment : public CDmeShape
{
DEFINE_ELEMENT( CDmeAttachment, CDmeShape );
public:
virtual void Draw( const matrix3x4_t &shapeToWorld, CDmeDrawSettings *pDrawSettings = NULL );
CDmaVar< bool > m_bIsRigid; // Does the attachment animate?
CDmaVar< bool > m_bIsWorldAligned; // Is the attachment world-aligned?
private:
CMaterialReference m_AttachmentMaterial;
};
#endif // DMEATTACHMENT_H
|