nw::gfx::AnimInterpolator Class

Syntax

class AnimInterpolator : public nw::gfx::AnimBlender

Description

Class for performing interpolation-style blending on the results of a general-purpose animation evaluation.

This class applies a weight to all registered animation object results and uses blended results. If there are members without animation, the status when the moedl was loaded (OriginalValue) is used for blending calculations.

By default, the blend weights are normalized to total 1.0 before blending, so only the relative weights will have meaning. If normalization is not required, it can be disabled using SetNormalizationEnabled().

Classes

nw::gfx::AnimInterpolator::Builder Class for building general-purpose animation interpolators.

Member Functions

Evaluation
V GetResult Gets the animation result for a given member.
Set/Get
GetWeight Gets the blend weight for animations.
SetWeight Sets the blend weight for animations.
SetNormalizationEnabled Sets whether to normalize blend weight for animations.
GetNormalizationEnabled Gets whether to normalize blend weights for animations.
V HasMemberAnim Gets a value indicating whether there are any animations bound to the member.
GetAnimGroup Gets the animation group.(Inherited from AnimObject.
SetAnimGroup Sets the animation group.(Inherited from AnimObject.
Basic Operations
V TryBind Binds animations.
V Release Clears a bound animation.
V UpdateFrame Updates frames.
Bind Binds animations.(Inherited from AnimObject.
Animation Objects
AddAnimObject Adds an animation object.(Inherited from AnimBlender)
GetAnimObject Gets the animation object.(Inherited from AnimBlender)
ReplaceAnimObject Replaces animation objects.(Inherited from AnimBlender)
ClearAnimObjects Clears an animation object.(Inherited from AnimBlender)
GetAnimObjectCount Gets the number of animation objects that have been added.(Inherited from AnimBlender)
GetMaxAnimObjects Gets the maximum number of animation objects.(Inherited from AnimBlender)
Cache
V UpdateCache Updates the internal cache within the animation evaluation results if it is out of date.
Create/Destroy
Destroy Destroys an object.(Derived from GfxObject.)

Class Hierarchy

nw::gfx::GfxObject
  nw::gfx::AnimObject
    nw::gfx::AnimBlender
      nw::gfx::AnimInterpolator


CONFIDENTIAL