User Guide
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