MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 954

Director scripting reference
Table of Contents

Advertisement

See also
textureRenderFormat,
renderStyle
Usage
member(whichCastmember).shader(whichShader).renderStyle
Description
3D standard shader property; allows you to get or set the
determined by the geometry of the underlying model resource. This property has the
following values:
#fill
specifies that the shader is drawn to completely fill the surface area of the model resource.
#wire
specifies that the shader is drawn only on the edges of the faces of the model resource.
#point
specifies that the shader is drawn only on the vertices of the model resource.
All shaders have access to the
properties shaders of the types
their type. For more information, see
Example
This statement causes the shader WallMaterial to be rendered only where it lies on top of a vertex
of the underlying model resource:
member("CityScene").shader("WallMaterial").renderStyle = #point
resizable
Usage
-- Lingo syntax
windowObjRef.resizable
// JavaScript syntax
windowObjRef.resizable;
Description
Window property; specifies whether the window is resizable (
Read/write.
Example
These statements maximize the window named Empire if the window is resizable.
-- Lingo syntax
if (window("Empire").resizable = TRUE) then
window("Empire").maximize()
end if
// JavaScript syntax
if (window("Empire").resizable = true) {
window("Empire").maximize();
}
954
Chapter 14: Properties
getHardwareInfo()
shader properties; in addition to these standard shader
#standard
,
#engraver
#newsprint
newShader
renderStyle
, and
#painter
.
, default) or not (
TRUE
for a shader, as
have properties unique to
).
FALSE

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents