|
|
@@ -12,9 +12,9 @@ class AnimatedModel : public StaticModel
|
|
|
void RemoveAllAnimationStates();
|
|
|
void SetAnimationLodBias(float bias);
|
|
|
void SetUpdateInvisible(bool enable);
|
|
|
- void SetMorphWeight(unsigned index, float weight);
|
|
|
void SetMorphWeight(const String name, float weight);
|
|
|
void SetMorphWeight(StringHash nameHash, float weight);
|
|
|
+ void SetMorphWeight(unsigned index, float weight);
|
|
|
void ResetMorphWeights();
|
|
|
|
|
|
Skeleton& GetSkeleton();
|
|
|
@@ -26,12 +26,12 @@ class AnimatedModel : public StaticModel
|
|
|
float GetAnimationLodBias() const;
|
|
|
bool GetUpdateInvisible() const;
|
|
|
unsigned GetNumMorphs() const;
|
|
|
- float GetMorphWeight(unsigned index) const;
|
|
|
float GetMorphWeight(const String name) const;
|
|
|
float GetMorphWeight(StringHash nameHash) const;
|
|
|
+ float GetMorphWeight(unsigned index) const;
|
|
|
bool IsMaster() const;
|
|
|
|
|
|
- tolua_property__get_set Model* model;
|
|
|
+ tolua_property__get_set Model* model;
|
|
|
tolua_readonly tolua_property__get_set Skeleton& skeleton;
|
|
|
tolua_readonly tolua_property__get_set unsigned numAnimationStates;
|
|
|
tolua_property__get_set float animationLodBias;
|