summaryrefslogtreecommitdiff
path: root/utils/hlfaceposer/EdgeProperties.h
blob: d97b477046c86fdddb7356fec6fd12976bcb057e (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
42
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
// $NoKeywords: $
//=============================================================================//

#ifndef EDGEPROPERTIES_H
#define EDGEPROPERTIES_H
#ifdef _WIN32
#pragma once
#endif

class CCurveData;
class ChoreoScene;
class CChoreoEvent;
class CFlexAnimationTrack;

#include "basedialogparams.h"

//-----------------------------------------------------------------------------
// Purpose: 
//-----------------------------------------------------------------------------
struct CEdgePropertiesParams : public CBaseDialogParams
{
	// GlobalEvent descriptive name
	char			m_szName[ 256 ];

	void			SetFromFlexTrack( CFlexAnimationTrack *track );
	void			ApplyToTrack( CFlexAnimationTrack *track );

	void			SetFromCurve( CCurveData *ramp );
	void			ApplyToCurve( CCurveData *ramp );

	bool			m_bActive[ 2 ];
	int				m_InterpolatorType[ 2 ];
	float			m_flValue[ 2 ];
};

int EdgeProperties( CEdgePropertiesParams *params );

#endif // EDGEPROPERTIES_H