Struct MarkerOverlayRegion
The description of the on-screen area where the marker is drawn.
Namespace: UnityEditor.Timeline
Syntax
public struct MarkerOverlayRegion
Constructors
MarkerOverlayRegion(Rect, Rect, Double, Double)
Constructor
Declaration
public MarkerOverlayRegion(Rect _markerRegion, Rect _timelineRegion, double _startTime, double _endTime)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | _markerRegion | |
| Rect | _timelineRegion | |
| Double | _startTime | |
| Double | _endTime |
Properties
endTime
The end time of the visible region of the window.
Declaration
public double endTime { get; }
Property Value
| Type | Description |
|---|---|
| Double |
markerRegion
The area where the marker is being drawn.
Declaration
public Rect markerRegion { get; }
Property Value
| Type | Description |
|---|---|
| Rect |
startTime
The start time of the visible region of the window.
Declaration
public double startTime { get; }
Property Value
| Type | Description |
|---|---|
| Double |
timelineRegion
TThe area where the overlay is being drawn.
Declaration
public Rect timelineRegion { get; }
Property Value
| Type | Description |
|---|---|
| Rect |
Methods
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | obj | The object to compare with the current instance. |
Returns
| Type | Description |
|---|---|
| Boolean | Returns |
Equals(MarkerOverlayRegion)
Compares this object with another MarkerOverlayRegion.
Declaration
public bool Equals(MarkerOverlayRegion other)
Parameters
| Type | Name | Description |
|---|---|---|
| MarkerOverlayRegion | other | The object to compare with. |
Returns
| Type | Description |
|---|---|
| Boolean | Returns true if |
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| Int32 | A 32-bit signed integer that is the hash code for this instance. |
Operators
Equality(MarkerOverlayRegion, MarkerOverlayRegion)
Compares two MarkerOverlayRegion objects.
Declaration
public static bool operator ==(MarkerOverlayRegion region1, MarkerOverlayRegion region2)
Parameters
| Type | Name | Description |
|---|---|---|
| MarkerOverlayRegion | region1 | The first object. |
| MarkerOverlayRegion | region2 | The second object. |
Returns
| Type | Description |
|---|---|
| Boolean | Returns true if they are equal. |
Inequality(MarkerOverlayRegion, MarkerOverlayRegion)
Compares two MarkerOverlayRegion objects.
Declaration
public static bool operator !=(MarkerOverlayRegion region1, MarkerOverlayRegion region2)
Parameters
| Type | Name | Description |
|---|---|---|
| MarkerOverlayRegion | region1 | The first object. |
| MarkerOverlayRegion | region2 | The second object. |
Returns
| Type | Description |
|---|---|
| Boolean | Returns true if they are not equal. |