Click or drag to resize
QuaternionXInterpolate Method (IListQuaternionInterpolationTarget, QuaternionInterpolationMode, Quaternion, Single)
Interpolate the specified normalized targets, using the specified interpolation type.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static Quaternion Interpolate(
	this IList<QuaternionInterpolationTarget> normalizedTargets,
	QuaternionInterpolationMode interpType,
	Quaternion[] cache,
	float oneOverListLength
)

Parameters

normalizedTargets
Type: System.Collections.GenericIListQuaternionInterpolationTarget
A collection of targets with the sum of their weights normalized to 1.0.
interpType
Type: CandlelightQuaternionInterpolationMode
Interpolation type.
cache
Type: Quaternion
Cache.
oneOverListLength
Type: SystemSingle
Reciprocal of the list length.

Return Value

Type: Quaternion
The interpolated result of the supplied targets.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IListQuaternionInterpolationTarget. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also