sfml.js
    Preparing search index...

    Class Time

    A signed microsecond duration; native APIs receive its bigint by value.

    Index

    Constructors

    Properties

    "[mutableValue]": true
    "[timeStorage]": bigint
    Zero: ReadonlyValue<Time> = ...

    只读的零时长。

    Methods

    • 返回精确的有符号 64 位微秒数。

      Returns bigint

    • 返回整毫秒数,向零截断并按有符号 32 位整数转换。

      Returns number

    • 返回秒数,按 float32 精度舍入。

      Returns number

    • std::chrono::microseconds is represented by a microsecond bigint.

      Returns bigint