|   |   |   | 
| AnimationController.KeyPriorityBlend Method | Language: | 
Sets blending event keys for the specified animation track.
Visual Basic Public Function KeyPriorityBlend( _ 
ByVal newBlendWeight As Single, _
ByVal startTime As Double, _
ByVal duration As Double, _
ByVal method As TransitionType _
) As IntegerC# public int KeyPriorityBlend( 
float newBlendWeight,
double startTime,
double duration,
TransitionType method
);C++ public: 
int KeyPriorityBlend(
float newBlendWeight,
double startTime,
double duration,
TransitionType method
);JScript public function KeyPriorityBlend( 
newBlendWeight : float,
startTime : double,
duration : double,
method : TransitionType
) : int;
newBlendWeight System.Single 
Number between 0 and 1 that is used to blend tracks.startTime System.Double 
Global time at which to start the blend.duration System.Double 
Global time duration of the blend.method Microsoft.DirectX.Direct3D.TransitionType 
Transition type used for the duration of the blend. For more information, see TransitionType.
System.Int32
Handle to the priority blend event. If one or more of the input parameters is invalid, or if no free event is available, a value of 0 is returned.
The animation controller blends in three phases: low-priority tracks are blended first, high-priority tracks are blended second, and then the results of both are blended.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
        
          Feedback? Please provide us with your comments on this topic.
			
        
        
	   		For more help, visit the DirectX Developer Center