文档

Unity Engine

Unity Engine

WebGLWasmArithmeticExceptions

An enum containing different trapping modes for WebAssembly code. This enum has been deprecated.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
警告
Deprecated. WebGLWasmArithmeticExceptions is deprecated. WebAssembly arithmetic exceptions are always ignored.
public enum WebGLWasmArithmeticExceptions

Remarks

WebAssembly arithmetic exceptions are always ignored, so this enum has no effect.

Fields

Value

Description

IgnoreAvoids traps by clamping floating point values to a reasonable range when performing arithmetic operations. Web builds always use this behavior. This setting has been deprecated.