PlanBaseTransportToPlan Method |
Moves the specified sprite to the specified plan's rectangle, aligned to the specified corner/edge.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax Remarks The specified Plan must be a 2-point plan (specifying a rectangle)
or the function will ignore the request (and display an error in debug mode).
The sprite will be aligned inside the rectangle according to Alignment,
so, for example, if RelativePosition.RightMiddle is specified, the midpoint of the
right side of the sprite's solidity rectangle will be aligned to the midpoint of the
right side of the plan's rectangle.
See Also