Nebula
Loading...
Searching...
No Matches
animjobutil.h File Reference

Detailed Description

Utility functions for CoreAnimation subsystem jobs.

(C) 2009 Radon Labs GmbH

#include "math/float4.h"
#include "math/quaternion.h"
#include "coreanimation/animcurve.h"
#include "characters/characterjointmask.h"

Go to the source code of this file.

Namespaces

namespace  CoreAnimation
 An animation resource holds a set of animations from a loaded NAX file.
 

Functions

void CoreAnimation::AnimJobUtilSampleStep (const AnimCurve *curves, int numCurves, const float4 &velocityScale, const float4 *src0SamplePtr, float4 *outSamplePtr, uchar *outSampleCounts)
 Sampler for "step" interpolation type.
 
void CoreAnimation::AnimJobUtilSampleLinear (const AnimCurve *curves, int numCurves, float sampleWeight, const float4 &velocityScale, const float4 *src0SamplePtr, const float4 *src1SamplePtr, float4 *outSamplePtr, uchar *outSampleCounts)
 Sampler for "linear" interpolation type.
 
void CoreAnimation::AnimJobUtilMix (const AnimCurve *curves, int numCurves, const Characters::CharacterJointMask *mask, float mixWeight, const float4 *src0SamplePtr, const float4 *src1SamplePtr, const uchar *src0SampleCounts, const uchar *src1SampleCounts, float4 *outSamplePtr, uchar *outSampleCounts)
 Mixes 2 source sample buffers into a destination sample buffer using a single lerp-value between 0.0 and 1.0.