Lingo Dictionary
159
To see an example of
count()
used in a completed movie, see the Text movie in the Learning/
Lingo Examples folder inside the Director application folder.
Example
This statement displays the number 3, the number of entries:
put [10,20,30].count
-- 3
See also
globals
count
Syntax
member(
whichCastmember
).light.count
member(
whichCastmember
).camera.count
member(
whichCastmember
).modelResource(
whichModelResource
).\
bone.count
member(
whichCastmember
).model.count
member(
whichCastmember
).group.count
member(
whichCastmember
).shader.count
member(
whichCastmember
).texture.count
member(
whichCastmember
).modelResource.count
member(
whichCastmember
).motion.count
member(
whichCastmember
).light.child.count
member(
whichCastmember
).camera.child.count
member(
whichCastmember
).model.child.count
member(
whichCastmember
).group.child.count
sprite(
whichSprite
).camera{(
index
)}.backdrop.count
member(
whichCastmember
).camera(
whichCamera
).backdrop.count
sprite(
whichSprite
).camera{(
index
)}.overlay.count
member(
whichCastmember
).camera(
whichCamera
).overlay.count
member(
whichCastmember
).model(
whichModel
).modifier.count
member(
whichCastmember
).model(
whichModel
).keyframePlayer.\
playlist.count
member(
whichCastmember
).model(
whichModel
).bonesPlayer.\
playlist.count
member(
whichCastmember
).modelResource(
whichModelResource
).\
face.count
member(
whichCastmember
).model(
whichModel
).meshDeform.\
mesh[
index
].textureLayer.count
member
(whichCastmember).model(whichModel)
.meshDeform.mesh.count
member(
whichCastmember
).model(
whichModel
).meshDeform.\
mesh[
index
].face.count
Description
3D property; returns the number of items in the given list that is associated with the given 3D
object. Can be used with any type of object.
The
face.count
property allows you to get the number of triangles in the mesh for a model
resource whose type is
#mesh
.
This property can be tested but not set.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...