Impact Interaction System API
Impact.ImpactTagMask Struct Reference

Represents a tag mask as a 32-bit integer bitmask. Adding this property to your scripts will show a custom editor in the inspector. More...

Public Member Functions

 ImpactTagMask (int maskValue, ImpactTagLibraryBase tagLibrary)
 Creates a new tag mask from the given bitmask. More...
 

Properties

int Value [get, set]
 The raw integer value of the bitmask.
 

Detailed Description

Represents a tag mask as a 32-bit integer bitmask. Adding this property to your scripts will show a custom editor in the inspector.

Constructor & Destructor Documentation

◆ ImpactTagMask()

Impact.ImpactTagMask.ImpactTagMask ( int  maskValue,
ImpactTagLibraryBase  tagLibrary 
)

Creates a new tag mask from the given bitmask.

Parameters
maskValueThe original bitmask.
tagLibraryThe tag library that was used to create this mask.