Search Results for

    Show / Hide Table of Contents

    Struct VariantType

    Represents an object type that can be interpreted as more than one type.

    Inherited Members
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    VariantType
    Assembly: FlaxEngine.dll
    File: Engine/Core/Types/Variant.h
    Syntax
    public struct VariantType

    Constructors

    VariantType(const StringAnsiView& typeName)

    Declaration
    public VariantType(const StringAnsiView& typeName)
    Parameters
    StringAnsiView typeName

    VariantType(const VariantType& other)

    Declaration
    public VariantType(const VariantType& other)
    Parameters
    VariantType other

    VariantType(Types type, const MClass* klass)

    Declaration
    public VariantType(Types type, const MClass* klass)
    Parameters
    Types type

    MClass klass

    VariantType(Types type, const StringAnsiView& typeName)

    Declaration
    public VariantType(Types type, const StringAnsiView& typeName)
    Parameters
    Types type

    StringAnsiView typeName

    VariantType(Types type, const StringView& typeName)

    Declaration
    public VariantType(Types type, const StringView& typeName)
    Parameters
    Types type

    StringView typeName

    VariantType(VariantType&& other)

    Declaration
    public VariantType(VariantType&& other) noexcept
    Parameters
    VariantType other

    Fields

    Type

    The type of the variant.

    Declaration
    public Types Type
    Field Value
    Types

    TypeName

    The optional additional full name of the scripting type. Used for Asset, Object, Enum, Structure types to describe type precisely.

    Declaration
    public char* TypeName
    Field Value
    char

    Methods

    ~VariantType()

    Declaration
    public ~VariantType()
    Returns
    FORCE_INLINE

    GetElementType()

    Declaration
    public VariantType GetElementType() const
    Returns
    VariantType

    GetTypeName()

    Declaration
    public char* GetTypeName() const
    Returns
    char

    operator!=(const VariantType& other)

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

    Returns
    bool

    operator=(const Types& type)

    Declaration
    public VariantType operator=(const Types& type)
    Parameters
    Types type

    Returns
    VariantType

    operator=(const VariantType& other)

    Declaration
    public VariantType operator=(const VariantType& other)
    Parameters
    VariantType other

    Returns
    VariantType

    operator=(VariantType&& other)

    Declaration
    public VariantType operator=(VariantType&& other)
    Parameters
    VariantType other

    Returns
    VariantType

    operator==(const ScriptingTypeHandle& type)

    Declaration
    public bool operator==(const ScriptingTypeHandle& type) const
    Parameters
    ScriptingTypeHandle type

    Returns
    bool

    operator==(const Types& type)

    Declaration
    public bool operator==(const Types& type) const
    Parameters
    Types type

    Returns
    bool

    operator==(const VariantType& other)

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

    Returns
    bool

    SetTypeName(const StringAnsiView& typeName)

    Declaration
    public void SetTypeName(const StringAnsiView& typeName)
    Parameters
    StringAnsiView typeName

    SetTypeName(const StringView& typeName)

    Declaration
    public void SetTypeName(const StringView& typeName)
    Parameters
    StringView typeName

    ToString()

    Declaration
    public ::String ToString() const
    Returns
    ::String

    VariantType()

    Declaration
    public VariantType()
    Returns
    FORCE_INLINE

    VariantType(Types type)

    Declaration
    public VariantType(Types type)
    Parameters
    Types type

    Returns
    FORCE_INLINE

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