Class BlendTree
Assembly: UnityEditor.dll
Syntax
public class BlendTree : Motion
Constructors
|
Improve this Doc
View Source
BlendTree()
Declaration
Properties
blendParameter
Declaration
public string blendParameter { get; set; }
Property Value
blendParameterY
Declaration
public string blendParameterY { get; set; }
Property Value
blendType
Declaration
public BlendTreeType blendType { get; set; }
Property Value
children
Declaration
public ChildMotion[] children { get; set; }
Property Value
maxThreshold
Declaration
public float maxThreshold { get; set; }
Property Value
minThreshold
Declaration
public float minThreshold { get; set; }
Property Value
useAutomaticThresholds
Declaration
public bool useAutomaticThresholds { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
AddChild(Motion)
Declaration
public void AddChild(Motion motion)
Parameters
Type |
Name |
Description |
Motion |
motion |
|
|
Improve this Doc
View Source
AddChild(Motion, Single)
Declaration
public void AddChild(Motion motion, float threshold)
Parameters
|
Improve this Doc
View Source
AddChild(Motion, Vector2)
Declaration
public void AddChild(Motion motion, Vector2 position)
Parameters
|
Improve this Doc
View Source
CreateBlendTreeChild(Single)
Declaration
public BlendTree CreateBlendTreeChild(float threshold)
Parameters
Type |
Name |
Description |
Single |
threshold |
|
Returns
|
Improve this Doc
View Source
CreateBlendTreeChild(Vector2)
Declaration
public BlendTree CreateBlendTreeChild(Vector2 position)
Parameters
Type |
Name |
Description |
Vector2 |
position |
|
Returns
|
Improve this Doc
View Source
RemoveChild(Int32)
Declaration
public void RemoveChild(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Extension Methods