AnimationState
.blendMode
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
AnimationState
AnimationState
.blendMode
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Enumerations
History
Index
AnimationState
All Members
Variables
blendMode
clip
enabled
layer
length
name
normalizedSpeed
normalizedTime
speed
time
weight
wrapMode
Functions
AddMixingTransform
var
blendMode :
AnimationBlendMode
Description
Which blend mode should be used?
JavaScripts
JavaScript
C#
Boo
// Set the leanLeft animation to blend additively
animation[
"leanLeft"
].blendMode =
AnimationBlendMode.Additive
;
using UnityEngine;
using System.Collections;
public
class
example :
MonoBehaviour
{
void
Awake
() {
animation[
"leanLeft"
].blendMode =
AnimationBlendMode.Additive
;
}
}
import
UnityEngine
import
System.Collections
class
example(
MonoBehaviour
):
def
Awake
():
animation['leanLeft'].blendMode =
AnimationBlendMode.Additive