DAZ Script 2 Documentation
3.0
DAZ Script 2 is a dynamically typed, interpreted, object-oriented scripting language that is tightly integrated with the DAZ Studio API. The previous version, DAZ Script 1, derived from QSA (by Trolltech - now Nokia), which itself was derived from ECMAScript 3.0 and the 4.0 proposal and was a hybrid of those standards. In QSA, most of the run-time logic, such as classes and scoping rules, were based on the ECMAScript 4.0 proposal, while the library implementation was based on the ECMAScript 3.0 Standard (ECMA-262). The proposal ended up not being accepted. So, in Qt4.5 (the application framework that DAZ Studio 3.x is built on top of), Trolltech decided to end-of-life the QSA product and develop a new native scripting engine that was compliant with the ECMAScript 3.0 Standard; and QtScript was born. As a result of these events it became essential that we adapt, so DAZ Script 2 finds its roots amidst the efforts toward compliance with QtScript, and the ECMAScript 3.0 Standard.
Syntactically, DAZ Script is very similar to JavaScript, JScript and ActionScript - which are all either based on, or the basis of, said standard - and if you have any familiarity with these languages, chances are you will find the transition to DAZ Script 2 quite comfortable; though it may be a little unintuitive at first for developers more comfortable with C++ and Java style syntax.
Linked below are topics to help bring you up to speed and get you on your way to unleashing the power that DAZ Script has to offer. It is assumed that readers have at least a basic understanding of programming concepts, although some effort is made toward explaining some of them, in the Language Reference section, below.
Basics | Language Reference | API Reference |
|
|
|
Generated on Thu Sep 24 12:21:06 2009
Copyright © 2002 - 2009 DAZ 3D, Inc.