2 * Copyright (c) 2007-2010 SlimDX Group
\r
4 * Permission is hereby granted, free of charge, to any person obtaining a copy
\r
5 * of this software and associated documentation files (the "Software"), to deal
\r
6 * in the Software without restriction, including without limitation the rights
\r
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
\r
8 * copies of the Software, and to permit persons to whom the Software is
\r
9 * furnished to do so, subject to the following conditions:
\r
11 * The above copyright notice and this permission notice shall be included in
\r
12 * all copies or substantial portions of the Software.
\r
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
\r
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
\r
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
\r
17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
\r
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
\r
19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
\r
24 #include "../math/Quaternion.h"
\r
25 #include "../math/Matrix.h"
\r
26 #include "../math/Vector4.h"
\r
34 ///<summary>Describes a callback key for use in key frame animation.</summary>
\r
35 ///<unmanaged>D3DXKEY_CALLBACK</unmanaged>
\r
36 public value class CallbackKey : System::IEquatable<CallbackKey>
\r
39 CallbackKey( const D3DXKEY_CALLBACK &key );
\r
42 property float Time;
\r
43 property System::IntPtr Data;
\r
45 static bool operator == ( CallbackKey left, CallbackKey right );
\r
46 static bool operator != ( CallbackKey left, CallbackKey right );
\r
48 virtual int GetHashCode() override;
\r
49 virtual bool Equals( System::Object^ obj ) override;
\r
50 virtual bool Equals( CallbackKey other );
\r
51 static bool Equals( CallbackKey% value1, CallbackKey% value2 );
\r
54 ///<summary>Describes a quaternion rotation key for use in key frame animation.</summary>
\r
55 ///<unmanaged>D3DXKEY_QUATERNION</unmanaged>
\r
56 public value class RotationKey : System::IEquatable<RotationKey>
\r
59 RotationKey( const D3DXKEY_QUATERNION &key );
\r
62 property float Time;
\r
63 property Quaternion Value;
\r
65 static bool operator == ( RotationKey left, RotationKey right );
\r
66 static bool operator != ( RotationKey left, RotationKey right );
\r
68 virtual int GetHashCode() override;
\r
69 virtual bool Equals( System::Object^ obj ) override;
\r
70 virtual bool Equals( RotationKey other );
\r
71 static bool Equals( RotationKey% value1, RotationKey% value2 );
\r
74 ///<summary>Describes a vector scale key for use in key frame animation.</summary>
\r
75 ///<unmanaged>D3DXKEY_VECTOR3</unmanaged>
\r
76 public value class ScaleKey : System::IEquatable<ScaleKey>
\r
79 ScaleKey( const D3DXKEY_VECTOR3 &key );
\r
82 property float Time;
\r
83 property Vector3 Value;
\r
85 static bool operator == ( ScaleKey left, ScaleKey right );
\r
86 static bool operator != ( ScaleKey left, ScaleKey right );
\r
88 virtual int GetHashCode() override;
\r
89 virtual bool Equals( System::Object^ obj ) override;
\r
90 virtual bool Equals( ScaleKey other );
\r
91 static bool Equals( ScaleKey% value1, ScaleKey% value2 );
\r
94 ///<summary>Describes a vector translation key for use in key frame animation.</summary>
\r
95 ///<unmanaged>D3DXKEY_VECTOR3</unmanaged>
\r
96 public value class TranslationKey : System::IEquatable<TranslationKey>
\r
99 TranslationKey( const D3DXKEY_VECTOR3 &key );
\r
102 property float Time;
\r
103 property Vector3 Value;
\r
105 static bool operator == ( TranslationKey left, TranslationKey right );
\r
106 static bool operator != ( TranslationKey left, TranslationKey right );
\r
108 virtual int GetHashCode() override;
\r
109 virtual bool Equals( System::Object^ obj ) override;
\r
110 virtual bool Equals( TranslationKey other );
\r
111 static bool Equals( TranslationKey% value1, TranslationKey% value2 );
\r