![]() |
Plasma Engine
2.0
|
A property attribute that indicates that the string property should display a file browsing button. More...
#include <PropertyAttributes.h>

Public Member Functions | |
| plFileBrowserAttribute (plStringView sDialogTitle, plStringView sTypeFilter, plStringView sCustomAction={}, plBitflags< plDependencyFlags > depencyFlags=plDependencyFlags::Transform|plDependencyFlags::Thumbnail) | |
| plStringView | GetDialogTitle () const |
| plStringView | GetTypeFilter () const |
| plStringView | GetCustomAction () const |
| plBitflags< plDependencyFlags > | GetDependencyFlags () const |
Public Member Functions inherited from plReflectedClass | |
| virtual const plRTTI * | GetDynamicRTTI () const |
| bool | IsInstanceOf (const plRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it. | |
| template<typename T > | |
| PL_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 plStringView | Meshes = "*.obj;*.fbx;*.gltf;*.glb"_plsv |
| static constexpr plStringView | MeshesWithAnimations = "*.fbx;*.gltf;*.glb"_plsv |
| static constexpr plStringView | ImagesLdrOnly = "*.dds;*.tga;*.png;*.jpg;*.jpeg"_plsv |
| static constexpr plStringView | ImagesHdrOnly = "*.hdr;*.exr"_plsv |
| static constexpr plStringView | ImagesLdrAndHdr = "*.dds;*.tga;*.png;*.jpg;*.jpeg;*.hdr;*.exr"_plsv |
| static constexpr plStringView | CubemapsLdrAndHdr = "*.dds;*.hdr"_plsv |
Additional Inherited Members | |
Static Public Member Functions inherited from plNoBase | |
| static const plRTTI * | 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: PL_MEMBER_PROPERTY("File", m_sFilePath)->AddAttributes(new plFileBrowserAttribute("Choose a File", "*.txt")),