User Guide

regPointVertex 951
regPoint (3D)
Usage
sprite(whichSprite).camera.backdrop[backdropIndex].regPoint
member(whichCastmember).camera(whichCamera).backdrop
[backdropIndex].regPoint
Description
3D backdrop and overlay property; allows you to get or set the registration point of the backdrop
or overlay. The registration point represents the x, y, and z coordinates of the center of the
backdrop or overlay in 3D space. The default value for this property is point(0,0).
Example
The following statement changes the registration point of the first backdrop of the camera of
sprite 13. The backdrops registration point will be the point (50, 0), measured from the upper
left corner of the backdrop.
sprite(13).camera.backdrop[1].regPoint = point(50, 0)
See also
loc (backdrop and overlay)
regPointVertex
Usage
-- Lingo syntax
memberObjRef.regPointVertex
// JavaScript syntax
memberObjRef.regPointVertex;
Description
Cast member property; indicates whether a vertex of vectorCastMember is used as the
registration point for that cast member. If the value is zero, the registration point is determined
normally, using the
centerRegPoint and regPoint properties. If the value is nonzero, it
indicates the position in the
vertextList of the vertex being used as the registration point. The
centerRegPoint is set to FALSE and the regPoint is set to the location of that vertex.
Example
This statement makes the registration point for the vector shape cast member Squiggle
correspond to the location of the third vertex:
-- Lingo syntax
member("squiggle").regPointVertex=3
// JavaScript syntax
member("squiggle").regPointVertex=3;
See also
centerRegPoint, regPoint