Interface IAngleRangeView
Syntax
public interface IAngleRangeView
Properties
hoveredRangeIndex
Declaration
int hoveredRangeIndex { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Methods
DoAngleRange(Int32, Rect, Single, Single, ref Single, ref Single, Boolean, Boolean, Color, Color, Color)
Declaration
bool DoAngleRange(int index, Rect rect, float radius, float angleOffset, ref float start, ref float end, bool snap, bool disabled, Color gradientMin, Color gradientMid, Color gradientMax)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| Rect |
rect |
|
| System.Single |
radius |
|
| System.Single |
angleOffset |
|
| System.Single |
start |
|
| System.Single |
end |
|
| System.Boolean |
snap |
|
| System.Boolean |
disabled |
|
| Color |
gradientMin |
|
| Color |
gradientMid |
|
| Color |
gradientMax |
|
Returns
| Type |
Description |
| System.Boolean |
|
DoCreateRange(Rect, Single, Single, Single, Single)
Declaration
bool DoCreateRange(Rect rect, float radius, float angleOffset, float start, float end)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| System.Single |
radius |
|
| System.Single |
angleOffset |
|
| System.Single |
start |
|
| System.Single |
end |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
void DoCreateRangeTooltip()
DoRemoveRange()
Declaration
Returns
| Type |
Description |
| System.Boolean |
|
DoSelectAngleRange(Int32, out Int32)
Declaration
bool DoSelectAngleRange(int currentSelected, out int newSelected)
Parameters
| Type |
Name |
Description |
| System.Int32 |
currentSelected |
|
| System.Int32 |
newSelected |
|
Returns
| Type |
Description |
| System.Boolean |
|
DoSelector(Rect, Single, Single, Single, out Single)
Declaration
bool DoSelector(Rect rect, float angleOffset, float radius, float angle, out float newAngle)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| System.Single |
angleOffset |
|
| System.Single |
radius |
|
| System.Single |
angle |
|
| System.Single |
newAngle |
|
Returns
| Type |
Description |
| System.Boolean |
|
DrawAngleRangeOutline(Rect, Single, Single, Single, Single)
Declaration
void DrawAngleRangeOutline(Rect rect, float start, float end, float angleOffset, float radius)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| System.Single |
start |
|
| System.Single |
end |
|
| System.Single |
angleOffset |
|
| System.Single |
radius |
|
GetAngleFromPosition(Rect, Single)
Declaration
float GetAngleFromPosition(Rect rect, float angleOffset)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| System.Single |
angleOffset |
|
Returns
| Type |
Description |
| System.Single |
|
IsActionActive(AngleRangeAction)
Declaration
bool IsActionActive(AngleRangeAction action)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
IsActionFinishing(AngleRangeAction)
Declaration
bool IsActionFinishing(AngleRangeAction action)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
IsActionTriggering(AngleRangeAction)
Declaration
bool IsActionTriggering(AngleRangeAction action)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Repaint()
Declaration
RequestFocusIndex(Int32)
Declaration
void RequestFocusIndex(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
SetupLayout(Rect, Single, Single)
Declaration
void SetupLayout(Rect rect, float angleOffset, float radius)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| System.Single |
angleOffset |
|
| System.Single |
radius |
|