Function setInterpolationMode

Synopsis

#include <Source/Falcor/Scene/Animation/Animation.h>

void setInterpolationMode(uint32_t channelID, InterpolationMode mode, bool enableWarping)

Description

Set the interpolation mode and enable/disable warping for a given channel.

Source

Lines 263-268 in Source/Falcor/Scene/Animation/Animation.cpp. Line 92 in Source/Falcor/Scene/Animation/Animation.h.

void Animation::setInterpolationMode(uint32_t channelID, InterpolationMode mode, bool enableWarping)
{
    assert(channelID < mChannels.size());
    mChannels[channelID].interpolationMode = mode;
    mChannels[channelID].enableWarping = enableWarping;
}





Add Discussion as Guest

Log in