Struct TimeTransform | DOTS Timeline | 0.5.1-preview.2
docs.unity3d.com
    Show / Hide Table of Contents

    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
    ValueType.Equals(Object)

    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
    ValueType.GetHashCode()

    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023