|
@@ -2200,8 +2200,10 @@ namespace Urho3D
|
|
|
<a href="#Class_AnimatedSprite2D"><b>AnimatedSprite2D</b></a>
|
|
<a href="#Class_AnimatedSprite2D"><b>AnimatedSprite2D</b></a>
|
|
|
<a href="#Class_Animation"><b>Animation</b></a>
|
|
<a href="#Class_Animation"><b>Animation</b></a>
|
|
|
<a href="#Class_AnimationController"><b>AnimationController</b></a>
|
|
<a href="#Class_AnimationController"><b>AnimationController</b></a>
|
|
|
|
|
+<a href="#Class_AnimationKeyFrame"><b>AnimationKeyFrame</b></a>
|
|
|
<a href="#Class_AnimationSet2D"><b>AnimationSet2D</b></a>
|
|
<a href="#Class_AnimationSet2D"><b>AnimationSet2D</b></a>
|
|
|
<a href="#Class_AnimationState"><b>AnimationState</b></a>
|
|
<a href="#Class_AnimationState"><b>AnimationState</b></a>
|
|
|
|
|
+<a href="#Class_AnimationTrack"><b>AnimationTrack</b></a>
|
|
|
<a href="#Class_AnimationTriggerPoint"><b>AnimationTriggerPoint</b></a>
|
|
<a href="#Class_AnimationTriggerPoint"><b>AnimationTriggerPoint</b></a>
|
|
|
<a href="#Class_Array"><b>Array</b></a>
|
|
<a href="#Class_Array"><b>Array</b></a>
|
|
|
<a href="#Class_AttributeInfo"><b>AttributeInfo</b></a>
|
|
<a href="#Class_AttributeInfo"><b>AttributeInfo</b></a>
|
|
@@ -2627,10 +2629,14 @@ Properties:
|
|
|
|
|
|
|
|
Methods:
|
|
Methods:
|
|
|
|
|
|
|
|
|
|
+- void AddTrigger(const AnimationTriggerPoint&)
|
|
|
- void AddTrigger(float, bool, const Variant&)
|
|
- void AddTrigger(float, bool, const Variant&)
|
|
|
|
|
+- AnimationTrack@ CreateTrack(const String&)
|
|
|
- bool Load(File@)
|
|
- bool Load(File@)
|
|
|
- bool Load(VectorBuffer&)
|
|
- bool Load(VectorBuffer&)
|
|
|
|
|
+- bool RemoveAllTracks()
|
|
|
- void RemoveAllTriggers()
|
|
- void RemoveAllTriggers()
|
|
|
|
|
+- bool RemoveTrack(const String&)
|
|
|
- void RemoveTrigger(uint)
|
|
- void RemoveTrigger(uint)
|
|
|
- bool Save(File@) const
|
|
- bool Save(File@) const
|
|
|
- bool Save(VectorBuffer&) const
|
|
- bool Save(VectorBuffer&) const
|
|
@@ -2638,16 +2644,17 @@ Methods:
|
|
|
|
|
|
|
|
Properties:
|
|
Properties:
|
|
|
|
|
|
|
|
-- String animationName // readonly
|
|
|
|
|
|
|
+- String animationName
|
|
|
- StringHash baseType // readonly
|
|
- StringHash baseType // readonly
|
|
|
- String category // readonly
|
|
- String category // readonly
|
|
|
-- float length // readonly
|
|
|
|
|
|
|
+- float length
|
|
|
- uint memoryUse // readonly
|
|
- uint memoryUse // readonly
|
|
|
- String name
|
|
- String name
|
|
|
- uint numTracks // readonly
|
|
- uint numTracks // readonly
|
|
|
- uint numTriggers
|
|
- uint numTriggers
|
|
|
- int refs // readonly
|
|
- int refs // readonly
|
|
|
-- AnimationTriggerPoint@[] triggers // readonly
|
|
|
|
|
|
|
+- AnimationTrack@[] tracks // readonly
|
|
|
|
|
+- AnimationTriggerPoint[] triggers
|
|
|
- StringHash type // readonly
|
|
- StringHash type // readonly
|
|
|
- String typeName // readonly
|
|
- String typeName // readonly
|
|
|
- uint useTimer // readonly
|
|
- uint useTimer // readonly
|
|
@@ -2736,6 +2743,17 @@ Properties:
|
|
|
- String typeName // readonly
|
|
- String typeName // readonly
|
|
|
- int weakRefs // readonly
|
|
- int weakRefs // readonly
|
|
|
|
|
|
|
|
|
|
+<a name="Class_AnimationKeyFrame"></a>
|
|
|
|
|
+
|
|
|
|
|
+### AnimationKeyFrame
|
|
|
|
|
+
|
|
|
|
|
+Properties:
|
|
|
|
|
+
|
|
|
|
|
+- Vector3 position
|
|
|
|
|
+- Quaternion rotation
|
|
|
|
|
+- Vector3 scale
|
|
|
|
|
+- float time
|
|
|
|
|
+
|
|
|
<a name="Class_AnimationSet2D"></a>
|
|
<a name="Class_AnimationSet2D"></a>
|
|
|
|
|
|
|
|
### AnimationSet2D
|
|
### AnimationSet2D
|
|
@@ -2795,6 +2813,25 @@ Properties:
|
|
|
- int weakRefs // readonly
|
|
- int weakRefs // readonly
|
|
|
- float weight
|
|
- float weight
|
|
|
|
|
|
|
|
|
|
+<a name="Class_AnimationTrack"></a>
|
|
|
|
|
+
|
|
|
|
|
+### AnimationTrack
|
|
|
|
|
+
|
|
|
|
|
+Methods:
|
|
|
|
|
+
|
|
|
|
|
+- void AddKeyFrame(const AnimationKeyFrame&)
|
|
|
|
|
+- void InsertKeyFrame(uint, const AnimationKeyFrame&)
|
|
|
|
|
+- void RemoveAllKeyFrames()
|
|
|
|
|
+- void RemoveKeyFrame(uint)
|
|
|
|
|
+
|
|
|
|
|
+Properties:
|
|
|
|
|
+
|
|
|
|
|
+- uint8 channelMask
|
|
|
|
|
+- AnimationKeyFrame[] keyFrames
|
|
|
|
|
+- String name
|
|
|
|
|
+- StringHash nameHash
|
|
|
|
|
+- uint numKeyFrames // readonly
|
|
|
|
|
+
|
|
|
<a name="Class_AnimationTriggerPoint"></a>
|
|
<a name="Class_AnimationTriggerPoint"></a>
|
|
|
|
|
|
|
|
### AnimationTriggerPoint
|
|
### AnimationTriggerPoint
|
|
@@ -14002,6 +14039,9 @@ Properties:
|
|
|
- uint AM_NOEDIT
|
|
- uint AM_NOEDIT
|
|
|
- Color BLACK
|
|
- Color BLACK
|
|
|
- Color BLUE
|
|
- Color BLUE
|
|
|
|
|
+- uint8 CHANNEL_POSITION
|
|
|
|
|
+- uint8 CHANNEL_ROTATION
|
|
|
|
|
+- uint8 CHANNEL_SCALE
|
|
|
- uint CLEAR_COLOR
|
|
- uint CLEAR_COLOR
|
|
|
- uint CLEAR_DEPTH
|
|
- uint CLEAR_DEPTH
|
|
|
- uint CLEAR_STENCIL
|
|
- uint CLEAR_STENCIL
|