3D Lingo Dictionary > O-S > regPoint |
![]() ![]() ![]() |
regPoint
Syntax
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
This statement changes the registration point of the first backdrop of the camera of sprite 13. The backdrop's 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
![]() ![]() ![]() |