Version: 2021.1
언어: 한국어

MediaRational

struct in UnityEditor.Media

매뉴얼로 전환

설명

Rational number useful for expressing fractions precisely.

정적 변수

InvalidInvalid rational value.

변수

denominatorFraction denominator.
inverseThe inverse of the rational number.
isNegativeWhether the rational number is negative.
isValidWhether the rational number is valid.
isZeroWhether the rational number is zero.
numeratorFraction numerator.

생성자

MediaRationalConstructs a rational number. The version that omits the denominator sets it to 1.

Public 함수

SetSets the numerator and denominator, performing normalization.

연산자

Unknown operatorReturns the rational value expressed as a floating point value.