Member
145
Member
Represents a Shockwave 3D cast member.
A Shockwave 3D (or simply 3D) cast member contains a complete 3D world. A 3D world
contains the set of objects you use to add 3D functionality to a movie.
You can create a reference to a 3D cast member by using either the top level
member()
function,
or by using the
member
property of the Movie or Sprite object. These are the same techniques you
can use to create a reference to a non-3D cast member.
•
Use the top level
member()
function.
-- Lingo syntax
3dMember = member("magic")
// JavaScript syntax
var 3dMember = member("magic");
•
Use the Sprite object’s
member
property.
-- Lingo syntax
3dMember = sprite(1).member;
// JavaScript syntax
var 3dMember = sprite(1).member;
Method summary for the Member object
Method
camera()
model
cloneModelFromCastmember
modelResource
cloneMotionFromCastmember
motion()
deleteCamera
newCamera
deleteGroup
newGroup
deleteLight
newLight
deleteModel
newMesh
deleteModelResource
newModel
deleteMotion
newModelResource
deleteShader
newShader
deleteTexture
newTexture
extrude3D
resetWorld
group()
revertToWorldDefaults
light()
shader()
loadFile()
texture()
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...