SpriteBaseGetRelativePosition Method |
Calculate the absolute position of a specified
RelativePosition value with respect to this sprite.
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public virtual Point GetRelativePosition(
RelativePosition RelativePosition
)
Parameters
- RelativePosition
- Type: (Default Namespace)RelativePosition
Which position within this sprite should be retrieved.
Return Value
Type:
PointA point relative to the sprite's layer that represents the requested position in the sprite.
Remarks This cannot be applied as a rule function because it returns a point object,
which is not supported by the SGDK2 IDE as an output type.
See Also