C# Class UnityEditor.CurveUtility

Exibir arquivo Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
CalculateSmoothTangent ( Keyframe key ) : float
GetBalancedColor ( Color c ) : Color
GetClipName ( AnimationClip clip ) : string
GetIconCurve ( ) : Texture2D
GetIconKey ( ) : Texture2D
GetPathAndTypeID ( string path, Type type ) : int
GetPropertyColor ( string name ) : Color
HaveKeysInRange ( AnimationCurve curve, float beginTime, float endTime ) : bool
RemoveKeysInRange ( AnimationCurve curve, float beginTime, float endTime ) : void
SetKeyModeFromContext ( AnimationCurve curve, int keyIndex ) : void

Method Details

CalculateSmoothTangent() public static method

public static CalculateSmoothTangent ( Keyframe key ) : float
key UnityEngine.Keyframe
return float

GetBalancedColor() public static method

public static GetBalancedColor ( Color c ) : Color
c Color
return Color

GetClipName() public static method

public static GetClipName ( AnimationClip clip ) : string
clip UnityEngine.AnimationClip
return string

GetIconCurve() public static method

public static GetIconCurve ( ) : Texture2D
return UnityEngine.Texture2D

GetIconKey() public static method

public static GetIconKey ( ) : Texture2D
return UnityEngine.Texture2D

GetPathAndTypeID() public static method

public static GetPathAndTypeID ( string path, Type type ) : int
path string
type System.Type
return int

GetPropertyColor() public static method

public static GetPropertyColor ( string name ) : Color
name string
return Color

HaveKeysInRange() public static method

public static HaveKeysInRange ( AnimationCurve curve, float beginTime, float endTime ) : bool
curve UnityEngine.AnimationCurve
beginTime float
endTime float
return bool

RemoveKeysInRange() public static method

public static RemoveKeysInRange ( AnimationCurve curve, float beginTime, float endTime ) : void
curve UnityEngine.AnimationCurve
beginTime float
endTime float
return void

SetKeyModeFromContext() public static method

public static SetKeyModeFromContext ( AnimationCurve curve, int keyIndex ) : void
curve UnityEngine.AnimationCurve
keyIndex int
return void