기술 자료

Unity Engine

Unity Engine

FromDouble(double, TicksPerSecond)

Converts a floating point number into a RationalTime with an explicit rate.
읽는 시간 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