inverse()
373
intersect()
Usage
rectangle1. Intersect(
rectangle2
)
intersect(
rectangle1
,
rectangle2
)
Description
Function; determines the rectangle formed where two rectangles intersect.
Parameters
rectangle2
Required. Specifies the second rectangle in the intersection test.
Example
This statement assigns the variable
newRectangle
to the rectangle formed where rectangle
toolKit intersects rectangle Ramp:
newRectangle = toolKit.intersect(Ramp)
See also
map()
,
rect()
,
union()
inverse()
Usage
member(
whichCastmember
).model(
whichModel
).transform.inverse()
member(
whichCastmember
).group(
whichGroup
).transform.inverse()
member(
whichCastmember
).camera(
whichCamera
).transform.inverse()
sprite(
whichSprite
).camera{(
index
)}.transform.inverse()
member(
whichCastmember
).light(
whichLight
).transform.inverse()
transformReference
.inverse()
Description
3D
transform
method; returns a copy of the transform with its position and rotation
properties inverted.
This method does not change the original transform. To invert the original transform, use the
invert()
function.
Parameters
None.
Example
This statement inverts a copy of the transform of the model named Chair:
boxInv = member("3d world").model("Chair").transform.inverse()
See also
invert()
Содержание DIRECTOR MX 2004-DIRECTOR SCRIPTING
Страница 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Страница 48: ...48 Chapter 2 Director Scripting Essentials...
Страница 100: ...100 Chapter 4 Debugging Scripts in Director...
Страница 118: ...118 Chapter 5 Director Core Objects...
Страница 594: ...594 Chapter 12 Methods...
Страница 684: ...684 Chapter 14 Properties See also DVD...
Страница 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Страница 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Страница 889: ...netPresent 889 _player alert Sorry the Network Support Xtras could not be found See also Player...
Страница 1102: ...1102 Chapter 14 Properties...