Search Results for

    Show / Hide Table of Contents

    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)

    Declaration
    public bool operator!=(const Tag& other) const
    Parameters
    Tag other

    Returns
    bool

    operator==(const StringView& other)

    Declaration
    public bool operator==(const StringView& other) const
    Parameters
    StringView other

    Returns
    bool

    operator==(const Tag& other)

    Declaration
    public bool operator==(const Tag& other) const
    Parameters
    Tag other

    Returns
    bool

    Tag(uint32 index)

    Declaration
    public Tag(uint32 index)
    Parameters
    uint32 index

    Returns
    FORCE_INLINE

    ToString()

    Gets the tag name.

    Declaration
    public String ToString() const
    Returns
    String

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat