C# Class UnityEditor.RectangleTool

显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
CalculateScaleTimeMatrix ( float fromTime, float toTime, float offsetTime, float pivotTime, float frameRate, Matrix4x4 &transform, bool &flipKeys ) : bool
CalculateScaleValueMatrix ( float fromValue, float toValue, float offsetValue, float pivotValue, Matrix4x4 &transform, bool &flipKeys ) : bool
HandleClutchKeys ( ) : void
Initialize ( TimeArea timeArea ) : void
PixelToTime ( float pixelTime, float frameRate ) : float
PixelToValue ( float pixelValue ) : float
TimeToPixel ( float time ) : float
ToolCoordToPosition ( ToolCoord coord, Bounds bounds ) : Vector2
ValueToPixel ( float value ) : float

Method Details

CalculateScaleTimeMatrix() public method

public CalculateScaleTimeMatrix ( float fromTime, float toTime, float offsetTime, float pivotTime, float frameRate, Matrix4x4 &transform, bool &flipKeys ) : bool
fromTime float
toTime float
offsetTime float
pivotTime float
frameRate float
transform UnityEngine.Matrix4x4
flipKeys bool
return bool

CalculateScaleValueMatrix() public method

public CalculateScaleValueMatrix ( float fromValue, float toValue, float offsetValue, float pivotValue, Matrix4x4 &transform, bool &flipKeys ) : bool
fromValue float
toValue float
offsetValue float
pivotValue float
transform UnityEngine.Matrix4x4
flipKeys bool
return bool

HandleClutchKeys() public method

public HandleClutchKeys ( ) : void
return void

Initialize() public method

public Initialize ( TimeArea timeArea ) : void
timeArea TimeArea
return void

PixelToTime() public method

public PixelToTime ( float pixelTime, float frameRate ) : float
pixelTime float
frameRate float
return float

PixelToValue() public method

public PixelToValue ( float pixelValue ) : float
pixelValue float
return float

TimeToPixel() public method

public TimeToPixel ( float time ) : float
time float
return float

ToolCoordToPosition() public method

public ToolCoordToPosition ( ToolCoord coord, Bounds bounds ) : Vector2
coord ToolCoord
bounds UnityEngine.Bounds
return Vector2

ValueToPixel() public method

public ValueToPixel ( float value ) : float
value float
return float