near (fog)
887
See also
forget() (Timeout)
,
new()
,
period
,
persistent
,
target
,
time (timeout object)
,
timeout()
,
timeoutHandler
,
timeoutList
name (XML)
Usage
XMLnode
.name
Description
XML property; returns the name of the specified XML node.
Example
Beginning with this XML:
<?xml version="1.0"?>
<e1>
<tagName attr1="val1" attr2="val2"/>
<e2>element 2</e2>
<e3>element 3</e3>
</e1>
This Lingo returns the name of the second tag that is nested within the tag
<e1>
:
put gParserObject.child[1].child[2].name
-- "e2"
See also
attributeName
near (fog)
Usage
member(
whichCastmember
).camera(
whichCamera
).fog.near
cameraReference
.fog.near
member(
whichCastmember
).camera(
whichCamera
).fog.far
cameraReference
.fog.far
Description
3D properties; this property allows you to get or set the distance from the front of the camera to
the point where the fogging starts if
fog.enabled
is
TRUE
.
The default value for this property is 0.0.
Example
The following statement sets the
near
property of the fog of the camera Defaultview to 100. If
the fog’s enabled property is set to
TRUE
and its
decayMode
property is set to
#linear
, fog will
first appear 100 world units in front of the camera.
member("3d world").camera("defaultview").fog.near = 100.0
See also
fog
,
far (fog)
,
enabled (fog)
,
decayMode
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...