C# Class UnityEditor.CurveUtility

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static CalculateSmoothTangent ( Keyframe key ) : float
key UnityEngine.Keyframe
Résultat float

GetBalancedColor() public static méthode

public static GetBalancedColor ( Color c ) : Color
c Color
Résultat Color

GetClipName() public static méthode

public static GetClipName ( AnimationClip clip ) : string
clip UnityEngine.AnimationClip
Résultat string

GetIconCurve() public static méthode

public static GetIconCurve ( ) : Texture2D
Résultat UnityEngine.Texture2D

GetIconKey() public static méthode

public static GetIconKey ( ) : Texture2D
Résultat UnityEngine.Texture2D

GetPathAndTypeID() public static méthode

public static GetPathAndTypeID ( string path, Type type ) : int
path string
type System.Type
Résultat int

GetPropertyColor() public static méthode

public static GetPropertyColor ( string name ) : Color
name string
Résultat Color

HaveKeysInRange() public static méthode

public static HaveKeysInRange ( AnimationCurve curve, float beginTime, float endTime ) : bool
curve UnityEngine.AnimationCurve
beginTime float
endTime float
Résultat bool

RemoveKeysInRange() public static méthode

public static RemoveKeysInRange ( AnimationCurve curve, float beginTime, float endTime ) : void
curve UnityEngine.AnimationCurve
beginTime float
endTime float
Résultat void

SetKeyModeFromContext() public static méthode

public static SetKeyModeFromContext ( AnimationCurve curve, int keyIndex ) : void
curve UnityEngine.AnimationCurve
keyIndex int
Résultat void