文档

Unity Engine

Unity Engine

FromDouble(double, TicksPerSecond)

Converts a floating point number into a RationalTime with an explicit rate.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static RationalTime FromDouble(double t, RationalTime.TicksPerSecond ticksPerSecond)

Parameters

The duration in seconds.

ticksPerSecond

The rational number representing the number of ticks per second.

Returns

Type

Description

RationalTime