Struct TimeTransform
The transformation from the timer to the local clip space
Namespace: Unity.Timeline
Syntax
public struct TimeTransform : IComponentData
Fields
clipIn
Declaration
public DiscreteTime clipIn
Field Value
Type | Description |
---|---|
DiscreteTime |
end
Declaration
public DiscreteTime end
Field Value
Type | Description |
---|---|
DiscreteTime |
scale
Declaration
public double scale
Field Value
Type | Description |
---|---|
Double |
start
Declaration
public DiscreteTime start
Field Value
Type | Description |
---|---|
DiscreteTime |
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
Equals(TimeTransform)
Declaration
public bool Equals(TimeTransform other)
Parameters
Type | Name | Description |
---|---|---|
TimeTransform | other |
Returns
Type | Description |
---|---|
Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
ToLocalTimeUnbound(DiscreteTime)
Declaration
public DiscreteTime ToLocalTimeUnbound(DiscreteTime time)
Parameters
Type | Name | Description |
---|---|---|
DiscreteTime | time |
Returns
Type | Description |
---|---|
DiscreteTime |
Operators
Equality(TimeTransform, TimeTransform)
Declaration
public static bool operator ==(TimeTransform options1, TimeTransform options2)
Parameters
Type | Name | Description |
---|---|---|
TimeTransform | options1 | |
TimeTransform | options2 |
Returns
Type | Description |
---|---|
Boolean |
Inequality(TimeTransform, TimeTransform)
Declaration
public static bool operator !=(TimeTransform options1, TimeTransform options2)
Parameters
Type | Name | Description |
---|---|---|
TimeTransform | options1 | |
TimeTransform | options2 |
Returns
Type | Description |
---|---|
Boolean |