Struct MarkerDrawOptions
The user-defined options for drawing a marker.
Inherited Members
Namespace: UnityEditor.Timeline
Assembly: Unity.Timeline.Editor.dll
Syntax
public struct MarkerDrawOptions
Properties
errorText
Text that indicates if the marker should display an error.
Declaration
public string errorText { readonly get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
If the error text is not empty or null, then the marker displays a warning. The error text is used as the tooltip.
tooltip
The tooltip for the marker.
Declaration
public string tooltip { readonly get; set; }
Property Value
Type | Description |
---|---|
string |
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 |
---|---|
bool | Returns |
Overrides
Equals(MarkerDrawOptions)
Compares this object with another MarkerDrawOptions
.
Declaration
public bool Equals(MarkerDrawOptions other)
Parameters
Type | Name | Description |
---|---|---|
MarkerDrawOptions | other | The object to compare with. |
Returns
Type | Description |
---|---|
bool | Returns true if |
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
Operators
operator ==(MarkerDrawOptions, MarkerDrawOptions)
Compares two MarkerDrawOptions
objects.
Declaration
public static bool operator ==(MarkerDrawOptions options1, MarkerDrawOptions options2)
Parameters
Type | Name | Description |
---|---|---|
MarkerDrawOptions | options1 | The first object. |
MarkerDrawOptions | options2 | The second object. |
Returns
Type | Description |
---|---|
bool | Returns true if they are equal. |
operator !=(MarkerDrawOptions, MarkerDrawOptions)
Compares two MarkerDrawOptions
objects.
Declaration
public static bool operator !=(MarkerDrawOptions options1, MarkerDrawOptions options2)
Parameters
Type | Name | Description |
---|---|---|
MarkerDrawOptions | options1 | The first object. |
MarkerDrawOptions | options2 | The second object. |
Returns
Type | Description |
---|---|
bool | Returns true if they are not equal. |