logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct TimeInfo

    Time information for procedural animation evaluation. Contains current time and delta time for frame-independent calculations.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.ProceduralExpression.Domain.ValueObjects
    Assembly: Serenity.ProceduralExpression.Domain.dll
    Syntax
    public readonly struct TimeInfo

    Constructors

    TimeInfo(float, float)

    Creates a new TimeInfo with the specified time values.

    Declaration
    public TimeInfo(float time, float deltaTime)
    Parameters
    Type Name Description
    float time

    Current time in seconds.

    float deltaTime

    Delta time in seconds.

    Fields

    DeltaTime

    Time elapsed since the last frame in seconds.

    Declaration
    public readonly float DeltaTime
    Field Value
    Type Description
    float

    Time

    Current time in seconds since the start of the application or animation.

    Declaration
    public readonly float Time
    Field Value
    Type Description
    float

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()
    In this article
    © 2026 Serenity. All Rights Reserved