Photon Fusion 2.0.3

Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
FieldsMask< T > Class Template Reference

Base class for FieldsMask<T>. More...

Inherits FieldsMask.

Public Member Functions

 FieldsMask ()
 Constructor for FieldsMask<T>. More...
 
 FieldsMask (Func< Mask256 > getDefaultsDelegate)
 Constructor for FieldsMask. More...
 
 FieldsMask (long maskA, long maskB=0, long maskC=0, long maskD=0)
 Constructor for FieldsMask. More...
 
 FieldsMask (Mask256 mask)
 Constructor for FieldsMask<T>. More...
 

Static Public Member Functions

static implicit operator Mask256 (FieldsMask mask)
 Implicitly convert FieldsMask to its long mask value. More...
 

Public Attributes

Mask256 Mask
 The internal mask value. More...
 

Protected Member Functions

 FieldsMask ()
 Constructor for FieldsMask. More...
 
 FieldsMask (long a, long b, long c, long d)
 Constructor for FieldsMask. More...
 
 FieldsMask (Mask256 mask)
 Constructor for FieldsMask. More...
 

Detailed Description

Base class for FieldsMask<T>.

Associates and displays a 64 bit mask which represents the field members of a struct. Makes it possible to treat a Struct like an Flags Enum. NOTE: A FieldsMask<T> attribute is required for proper rendering in the Inspector.

Constructor & Destructor Documentation

◆ FieldsMask() [1/7]

FieldsMask ( Mask256  mask)
protected

Constructor for FieldsMask.

◆ FieldsMask() [2/7]

FieldsMask ( long  a,
long  b,
long  c,
long  d 
)
protected

Constructor for FieldsMask.

◆ FieldsMask() [3/7]

FieldsMask ( )
protected

Constructor for FieldsMask.

◆ FieldsMask() [4/7]

FieldsMask ( Mask256  mask)

Constructor for FieldsMask<T>.

◆ FieldsMask() [5/7]

FieldsMask ( long  maskA,
long  maskB = 0,
long  maskC = 0,
long  maskD = 0 
)

Constructor for FieldsMask.

◆ FieldsMask() [6/7]

Constructor for FieldsMask<T>.

◆ FieldsMask() [7/7]

FieldsMask ( Func< Mask256 getDefaultsDelegate)

Constructor for FieldsMask.

Member Function Documentation

◆ operator Mask256()

static implicit operator Mask256 ( FieldsMask< T >  mask)
static

Implicitly convert FieldsMask to its long mask value.

Member Data Documentation

◆ Mask

Mask256 Mask

The internal mask value.