ドキュメント

Unity Engine

Unity Engine

FloatPrecision

Represents the floating point precision used for certain builtin operations e.g. sin/cos.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Enum
  • Namespace: Unity.Burst
  • Assembly: UnityEngine.BurstModule
public enum FloatPrecision

Fields

Value

Description

HighCompute with an accuracy of 1 ULP - highly accurate, but increased runtime as a result, should not be required for most purposes.
LowCompute with an accuracy lower than or equal to FloatPrecision.Medium, with some range restrictions (defined per function).
MediumCompute with an accuracy of 3.5 ULP - considered acceptable accuracy for most tasks.
StandardUse the default target floating point precision - FloatPrecision.Medium.