ドキュメント

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