C# Class UnityEditor.TimeArea

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

Méthodes publiques

Méthode Description
BrowseRuler ( Rect position, float &time, float frameRate, bool pickAnywhere, GUIStyle thumbStyle ) : TimeRulerDragMode
BrowseRuler ( Rect position, int id, float &time, float frameRate, bool pickAnywhere, GUIStyle thumbStyle ) : TimeRulerDragMode
DrawMajorTicks ( Rect position, float frameRate ) : void
DrawVerticalLine ( float x, float minY, float maxY, Color color ) : void
DrawVerticalLineFast ( float x, float minY, float maxY, Color color ) : void
FormatTime ( float time, float frameRate, TimeFormat timeFormat ) : string
FormatValue ( float value ) : string
FrameToPixel ( float i, float frameRate, Rect rect ) : float
SetTickMarkerRanges ( ) : void
SnapTimeToWholeFPS ( float time, float frameRate ) : float
TimeArea ( bool minimalGUI ) : System
TimeField ( Rect rect, int id, float time, float frameRate, TimeFormat timeFormat ) : float
TimeRuler ( Rect position, float frameRate ) : void
TimeRuler ( Rect position, float frameRate, bool labels, bool useEntireHeight, float alpha ) : void
TimeRuler ( Rect position, float frameRate, bool labels, bool useEntireHeight, float alpha, TimeFormat timeFormat ) : void
ValueField ( Rect rect, int id, float value ) : float

Private Methods

Méthode Description
DrawLine ( Vector2 lhs, Vector2 rhs ) : void
FrameToPixel ( float i, float frameRate, Rect rect, Rect theShownArea ) : float
InitStyles ( ) : void

Method Details

BrowseRuler() public méthode

public BrowseRuler ( Rect position, float &time, float frameRate, bool pickAnywhere, GUIStyle thumbStyle ) : TimeRulerDragMode
position UnityEngine.Rect
time float
frameRate float
pickAnywhere bool
thumbStyle UnityEngine.GUIStyle
Résultat TimeRulerDragMode

BrowseRuler() public méthode

public BrowseRuler ( Rect position, int id, float &time, float frameRate, bool pickAnywhere, GUIStyle thumbStyle ) : TimeRulerDragMode
position UnityEngine.Rect
id int
time float
frameRate float
pickAnywhere bool
thumbStyle UnityEngine.GUIStyle
Résultat TimeRulerDragMode

DrawMajorTicks() public méthode

public DrawMajorTicks ( Rect position, float frameRate ) : void
position UnityEngine.Rect
frameRate float
Résultat void

DrawVerticalLine() public static méthode

public static DrawVerticalLine ( float x, float minY, float maxY, Color color ) : void
x float
minY float
maxY float
color Color
Résultat void

DrawVerticalLineFast() public static méthode

public static DrawVerticalLineFast ( float x, float minY, float maxY, Color color ) : void
x float
minY float
maxY float
color Color
Résultat void

FormatTime() public méthode

public FormatTime ( float time, float frameRate, TimeFormat timeFormat ) : string
time float
frameRate float
timeFormat TimeFormat
Résultat string

FormatValue() public méthode

public FormatValue ( float value ) : string
value float
Résultat string

FrameToPixel() public méthode

public FrameToPixel ( float i, float frameRate, Rect rect ) : float
i float
frameRate float
rect UnityEngine.Rect
Résultat float

SetTickMarkerRanges() public méthode

public SetTickMarkerRanges ( ) : void
Résultat void

SnapTimeToWholeFPS() public méthode

public SnapTimeToWholeFPS ( float time, float frameRate ) : float
time float
frameRate float
Résultat float

TimeArea() public méthode

public TimeArea ( bool minimalGUI ) : System
minimalGUI bool
Résultat System

TimeField() public méthode

public TimeField ( Rect rect, int id, float time, float frameRate, TimeFormat timeFormat ) : float
rect UnityEngine.Rect
id int
time float
frameRate float
timeFormat TimeFormat
Résultat float

TimeRuler() public méthode

public TimeRuler ( Rect position, float frameRate ) : void
position UnityEngine.Rect
frameRate float
Résultat void

TimeRuler() public méthode

public TimeRuler ( Rect position, float frameRate, bool labels, bool useEntireHeight, float alpha ) : void
position UnityEngine.Rect
frameRate float
labels bool
useEntireHeight bool
alpha float
Résultat void

TimeRuler() public méthode

public TimeRuler ( Rect position, float frameRate, bool labels, bool useEntireHeight, float alpha, TimeFormat timeFormat ) : void
position UnityEngine.Rect
frameRate float
labels bool
useEntireHeight bool
alpha float
timeFormat TimeFormat
Résultat void

ValueField() public méthode

public ValueField ( Rect rect, int id, float value ) : float
rect UnityEngine.Rect
id int
value float
Résultat float