![]() |
ezEngine
Release 25.03
|
A property attribute that indicates that the string property should display a file browsing button. More...
#include <PropertyAttributes.h>
Public Member Functions | |
ezFileBrowserAttribute (ezStringView sDialogTitle, ezStringView sTypeFilter, ezStringView sCustomAction={}, ezStringView sCreateTitle={}, ezBitflags< ezDependencyFlags > depencyFlags=ezDependencyFlags::Transform|ezDependencyFlags::Thumbnail) | |
ezStringView | GetDialogTitle () const |
ezStringView | GetTypeFilter () const |
ezStringView | GetCustomAction () const |
ezStringView | GetCreateTitle () const |
ezBitflags< ezDependencyFlags > | GetDependencyFlags () const |
![]() | |
virtual const ezRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const ezRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T > | |
EZ_ALWAYS_INLINE bool | IsInstanceOf () const |
Returns whether the type of this instance is of the given type or derived from it. | |
Static Public Attributes | |
static constexpr ezStringView | Meshes = "*.obj;*.fbx;*.gltf;*.glb"_ezsv |
static constexpr ezStringView | MeshesWithAnimations = "*.fbx;*.gltf;*.glb"_ezsv |
static constexpr ezStringView | ImagesLdrOnly = "*.dds;*.tga;*.png;*.jpg;*.jpeg"_ezsv |
static constexpr ezStringView | ImagesHdrOnly = "*.hdr;*.exr"_ezsv |
static constexpr ezStringView | ImagesLdrAndHdr = "*.dds;*.tga;*.png;*.jpg;*.jpeg;*.hdr;*.exr"_ezsv |
static constexpr ezStringView | CubemapsLdrAndHdr = "*.dds;*.hdr"_ezsv |
Additional Inherited Members | |
![]() | |
static const ezRTTI * | GetStaticRTTI () |
A property attribute that indicates that the string property should display a file browsing button.
Allows to specify the title for the browse dialog and the allowed file types. Usage: EZ_MEMBER_PROPERTY("File", m_sFilePath)->AddAttributes(new ezFileBrowserAttribute("Choose a File", "*.txt")),