A static (non-animatable) string property that holds a file path.
|DzFileProperty ( String name, Boolean isUserProperty )|
The behavior of the property, as presented to the user.
Default Constructor. Creates a non-user property.
DzFileProperty( String name, Boolean isUserProperty )
true, creates a user property; user properties are properties that can be added/deleted by users.
String : getAbsolutePath( String path )
String : getDisplayText()
Gets the filter value.
Gets the file type.
Causes the file specified in the value of this property to be loaded.
Property, which refers to this property, is provided to the script in the global context at runtime. Attempts to use this global variable outside of the associated script will result in a ReferenceError. If the file specified in the value of this property is NOT a script, the absolute path of the file is sent to DzContentMgr::openFile() and merged with the scene.
trueif the file is load successfully, otherwise
void : setDisplayText( String text )
TODO: Add description.
void : setFilter( String filter )
Sets the value to use as a file extension filter.
void : setType( FileType type )
Sets the file type for the property.
void : displayTextChanged()
Emitted when the display text for the property changes.
void : filterChanged()
Emitted when the filter for the property changes.