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.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961