Struct Tag
Gameplay tag that represents a hierarchical name of the form 'X.Y.Z' (namespaces separated with a dot). Tags are defined in project LayersAndTagsSettings asset but can be also created from code.
Assembly: FlaxEngine.dll
File: Engine/Level/Tags.h
Syntax
public struct Tag
Constructors
Tag()
Declaration
public Tag() = default
Fields
Index
Index of the tag (in global Level.Tags list). Index 0 is invalid. 1 is the first index.
Declaration
public uint32 Index = 0
Field Value
uint32
|
Methods
operator bool()
Declaration
public operator bool() const
Returns
FORCE_INLINE
|
operator!=(const StringView& other)
Declaration
public bool operator!=(const StringView& other) const
Parameters
StringView
other
|
Returns
bool
|
operator!=(const Tag& other)
operator==(const StringView& other)
Declaration
public bool operator==(const StringView& other) const
Parameters
StringView
other
|
Returns
bool
|
operator==(const Tag& other)
Tag(uint32 index)
Declaration
public Tag(uint32 index)
Parameters
uint32
index
|
Returns
FORCE_INLINE
|