Show / Hide Table of Contents

Class BlendTreePreviewUtility

Inheritance
Object
BlendTreePreviewUtility
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditorInternal
Assembly: UnityEditor.dll
Syntax
public class BlendTreePreviewUtility

Methods

CalculateBlendTexture(Animator, Int32, Int32, Texture2D, Texture2D[], Single, Single, Single, Single)

Declaration
protected static void CalculateBlendTexture(Animator animator, int layerIndex, int stateHash, Texture2D blendTexture, Texture2D[] weightTextures, float minX, float minY, float maxX, float maxY)
Parameters
Type Name Description
Animator animator
Int32 layerIndex
Int32 stateHash
Texture2D blendTexture
Texture2D[] weightTextures
Single minX
Single minY
Single maxX
Single maxY
| Improve this Doc View Source

CalculateBlendTexture(Animator, Int32, Int32, Texture2D, Texture2D[], Rect)

Declaration
public static void CalculateBlendTexture(Animator animator, int layerIndex, int stateHash, Texture2D blendTexture, Texture2D[] weightTextures, Rect rect)
Parameters
Type Name Description
Animator animator
Int32 layerIndex
Int32 stateHash
Texture2D blendTexture
Texture2D[] weightTextures
Rect rect

CalculateRootBlendTreeChildWeights(Animator, Int32, Int32, Single[], Single, Single)

Declaration
public static void CalculateRootBlendTreeChildWeights(Animator animator, int layerIndex, int stateHash, float[] weightArray, float blendX, float blendY)
Parameters
Type Name Description
Animator animator
Int32 layerIndex
Int32 stateHash
Single[] weightArray
Single blendX
Single blendY

GetRootBlendTreeChildWeights(Animator, Int32, Int32, Single[])

Declaration
public static void GetRootBlendTreeChildWeights(Animator animator, int layerIndex, int stateHash, float[] weightArray)
Parameters
Type Name Description
Animator animator
Int32 layerIndex
Int32 stateHash
Single[] weightArray

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX