AssumeRangeAttribute
Assume that an integer is in the signed closed interval [min..max].
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: Unity.Burst.CompilerServices
- Assembly: UnityEngine.BurstModule
AssumeRangeAttribute(int, int)
Assume that an integer is in the signed closed interval [min..max].
public AssumeRangeAttribute(int min, int max)
Parameters
AssumeRangeAttribute(uint, uint)
Assume that an integer is in the unsigned closed interval [min..max].
public AssumeRangeAttribute(uint min, uint max)
Parameters
AssumeRangeAttribute(long, long)
Assume that an integer is in the signed closed interval [min..max].
public AssumeRangeAttribute(long min, long max)
Parameters
AssumeRangeAttribute(ulong, ulong)
Assume that an integer is in the unsigned closed interval [min..max].
public AssumeRangeAttribute(ulong min, ulong max)