Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

SIDD

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Constants for string comparison intrinsics

Properties

Property Description
UBYTE_OPS Compare 8-bit unsigned characters
UWORD_OPS Compare 16-bit unsigned characters
SBYTE_OPS Compare 8-bit signed characters
SWORD_OPS Compare 16-bit signed characters
CMP_EQUAL_ANY Compare any equal
CMP_RANGES Compare ranges
CMP_EQUAL_EACH Compare equal each
CMP_EQUAL_ORDERED Compare equal ordered
POSITIVE_POLARITY Normal result polarity
NEGATIVE_POLARITY Negate results
MASKED_POSITIVE_POLARITY Normal results only before end of string
MASKED_NEGATIVE_POLARITY Negate results only before end of string
LEAST_SIGNIFICANT Index only: return least significant bit
MOST_SIGNIFICANT Index only: return most significan bit
BIT_MASK mask only: return bit mask
UNIT_MASK mask only: return byte/word mask