newCurve()
Usage
-- Lingo syntax
memberObjRef.newCurve(positionInVertexList)
// JavaScript syntax
memberObjRef.newCurve(positionInVertexList);
Description
Function; adds a
new shape to the vector shape. You can break apart an existing shape by calling
a position in the middle of a series of vertices.
Parameters
positionInVertexList
symbol is added.
#newCurve
Example
These statements add a new curve to cast member 2 at the third position in the cast member's
vertexList. The second line of the example replaces the contents of curve 2 with the contents of
curve 3.
-- Lingo syntax
member(2).newCurve(3)
member(2).curve[2] = member(2).curve[3]
// JavaScript syntax
member(2).newCurve(3);
member(2).curve[2] = member(2).curve[3];
See also
curve,
vertexList
newGroup
Usage
member(whichCastmember).newGroup(newGroupName)
Description
3D command; creates a new group and adds it to the group palette.
Parameters
Required. Specifies the name of the new group. The name of the new group must
newGroupName
be unique within the group palette.
Example
This statement creates a group called gbGroup2 within the cast member Scene, and a reference to
it is stored in the variable ng:
ng = member("Scene").newGroup("gbGroup2")
420
Chapter 12: Methods
symbol to the
#newCurve
Required. Specifies the position in the
of
vertexList
vectorCastMember
vertexList
, which adds a
with
newCurve()
at which the
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers