sizeRange
991
Silhouette lines are similar to the lines that outline images in a child’s coloring book.
The default value for this property is
TRUE
.
Example
The following statement sets the
silhouettes
property of the
inker
modifier for the model
named Sphere to
FALSE
. Lines will not be drawn around the profile of the model.
member("Shapes").model("Sphere").inker.silhouettes = FALSE
size
Usage
-- Lingo syntax
memberObjRef
.size
// JavaScript syntax
memberObjRef
.size;
Description
Member property; returns the size in memory, in bytes, of a specific cast member. Read-only.
Divide bytes by 1024 to convert to kilobytes.
Example
This line outputs the size of the cast member Shrine in a field named How Big:
-- Lingo syntax
member("How Big").text = string(member("shrine").size)
// JavaScript syntax
member("How Big").text = member("shrine").size.toString();
See also
Member
sizeRange
Usage
member(
whichCastmember
).modelResource
(
whichModelResource
).sizeRange.start
modelResourceObjectReference
.sizeRange.start
member(
whichCastmember
).modelResource
(
whichModelResource
).sizeRange.end
modelResourceObjectReference
.sizeRange.end
Description
3D property; when used with a model resource whose type is
#particle
, this property allows you
to get or set the
start
and
end
property of the model resource’s
sizeRange
. Particles are
measured in world units.
The size of particles in the system is interpolated linearly between
sizeRange.start
and
sizeRange.end
over the lifetime of each particle.
This property must be an integer greater than 0, and has a default value of 1.
Summary of Contents for DIRECTOR MX 2004
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...