A static (non-animatable) string property that holds a file path.
Inherits :
DAZ Script |
---|
DzFileProperty () |
DzFileProperty ( String name, Boolean isUserProperty ) |
void | displayTextChanged () |
void | filterChanged () |
Attention:
The behavior of the property, as presented to the user.
Default Constructor. Creates a non-user property.
DzFileProperty( String name, Boolean isUserProperty )
Parameter(s):
true
, creates a user property; user properties are properties that can be added/deleted by users.String : getAbsolutePath( String path )
Parameter(s):
Return Value:
String : getDisplayText()
Return Value:
Since:
Gets the filter value.
Gets the file type.
Causes the file specified in the value of this property to be loaded.
Attention:
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.Return Value:
true
if the file is load successfully, otherwise false
.Since:
void : setDisplayText( String text )
TODO: Add description.
void : setFilter( String filter )
Sets the value to use as a file extension filter.
Parameter(s):
Attention:
void : setType( FileType type )
Sets the file type for the property.
Parameter(s):
void : displayTextChanged()
Signature:“displayTextChanged()”
Emitted when the display text for the property changes.
void : filterChanged()
Signature:“filterChanged()”
Emitted when the filter for the property changes.