![]() |
XII Release 0.1.0
|
A property attribute that indicates that the string property should display a file browsing button. More...
#include <PropertyAttributes.h>
Public Member Functions | |
xiiFileBrowserAttribute (xiiStringView sDialogTitle, xiiStringView sTypeFilter, xiiStringView sCustomAction={}, xiiStringView sCreateTitle={}, xiiBitflags< xiiDependencyFlags > depencyFlags=xiiDependencyFlags::Transform|xiiDependencyFlags::Thumbnail) | |
xiiStringView | GetDialogTitle () const |
xiiStringView | GetTypeFilter () const |
xiiStringView | GetCustomAction () const |
xiiStringView | GetCreateTitle () const |
xiiBitflags< xiiDependencyFlags > | GetDependencyFlags () const |
![]() | |
virtual const xiiRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const xiiRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T> | |
XII_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 xiiStringView | Meshes = "*.obj;*.fbx;*.gltf;*.glb"_xiisv |
static constexpr xiiStringView | MeshesWithAnimations = "*.fbx;*.gltf;*.glb"_xiisv |
static constexpr xiiStringView | ImagesLdrOnly = "*.dds;*.tga;*.png;*.jpg;*.jpeg"_xiisv |
static constexpr xiiStringView | ImagesHdrOnly = "*.hdr;*.exr"_xiisv |
static constexpr xiiStringView | ImagesLdrAndHdr = "*.dds;*.tga;*.png;*.jpg;*.jpeg;*.hdr;*.exr"_xiisv |
static constexpr xiiStringView | CubemapsLdrAndHdr = "*.dds;*.hdr"_xiisv |
Additional Inherited Members | |
![]() | |
static const xiiRTTI * | 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: XII_MEMBER_PROPERTY("File", m_sFilePath)->AddAttributes(new xiiFileBrowserAttribute("Choose a File", "*.txt")),