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 |
|---|---|
| High | Compute with an accuracy of 1 ULP - highly accurate, but increased runtime as a result, should not be required for most purposes. |
| Low | Compute with an accuracy lower than or equal to FloatPrecision.Medium, with some range restrictions (defined per function). |
| Medium | Compute with an accuracy of 3.5 ULP - considered acceptable accuracy for most tasks. |
| Standard | Use the default target floating point precision - FloatPrecision.Medium. |