dazscript-types
Version:
Daz Studio Scripting Types
28 lines (22 loc) • 861 B
TypeScript
/**
* A DzSimpleElementData implementation that executes a script after the owning element has been loaded into the scene.
* @docurl https://docs.daz3d.com/public/software/dazstudio/4/referenceguide/scripting/api_reference/object_index/simpleelementscriptdata_dz
*/
declare class DzSimpleElementScriptData extends DzSimpleElementData {
/* Constructors */
/**
* @param name string
* @param persistent boolean
*/
constructor(name: string, persistent?: boolean);
/* Methods */
/**
* @returns string The file path of the script for this data item (if any), otherwise an empty string.
*/
getScriptFilePath(): string; // String
/**
* Sets the file path of the script for this data item.
* @param script string - The file path of the script.
*/
setScriptFilePath(script: string): void;
}