Daz Script Window Opacity Syntax?
athenenoctua
Posts: 0
What is the Daz Script syntax to set window opacity?
Here are a few lines from the mcjListRender script, declaring a dialog box:
var wDlg = new DzDialog;
wDlg.caption = programName + " " + versionName;
If I extrapolate from the syntax I see in the scripts I'm looking at, the declaration of window opacity would go something like
wDlg.windowOpacity = ".5";
No love when I insert this line, though.
Comments
I'm not aware that you can do this.
Thanks, Richard. That answers a major question for this quixotic project I'm attempting--it means I'm going to have to create it (or con one of my coder relatives to create it) in a compiled language such as xcode. I can't do it with script.
I'm not sure that DS supports transparency of windows, in any manner - if it did you'd expect itt o be used, and I can't recall anywhere that it occurs.
When you say DS, do you mean Daz Studio or Daz Script?
I am now certain that the IDE (compiled, not interpreted Daz Script) supports exactly what I'm envisioning: While playing around with the Region Navigator, I came upon this:
Holy Grail transparent slider in lower left of shot.....
I was thinking in general, but forgetting those sliders (since I don't use the feature they go with).
Here's an idea, but not the way the poster intended.
This person seems to have created a model and turned it into a rigging tool, right inside the 3D space itself. I could work with this. Could you tell me if he/she is using anything besides "follow me" as controls? How are the sliders being used to scale the...erm...body parts?
http://www.youtube.com/watch?v=DXJU8fES7dk
It is waay past my bedtime, but I noticed you (Rob?) just put this up in the documentation:
http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/styling/defining_a_color_value
I think this enables me to use Daz Script to enable transparency.
When I get some sleep, I will look at this more closely.
Thanks!
Not me, I think the scripting docs are all Rob. That does look useful, yes.