Click or drag to resize
QuaternionXSequentialSlerp Method
Perform non-commutative, constant angular velocity, weighted interpolation of specified targets.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static Quaternion SequentialSlerp(
	this IList<QuaternionInterpolationTarget> normalizedTargets,
	QuaternionXInterpolationPath path,
	ref Quaternion[] cache
)

Parameters

normalizedTargets
Type: System.Collections.GenericIListQuaternionInterpolationTarget
A collection of targets with the sum of their weights normalized to 1.0.
path
Type: CandlelightQuaternionXInterpolationPath
The path to take.
cache
Type: Quaternion
Cache (not currently used).

Return Value

Type: Quaternion
The weighted average 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).
Remarks
Performs a sequential Quaternion.Slerp(Quaternion, Quaternion, Single) to reflect Maya's orientConstraint node.
See Also