UMD.HCIL.Piccolo.PNode.OffsetBy C# (CSharp) Method

OffsetBy() public method

Offset this node relative to the parent's coordinate system. This is NOT affected by this node's current scale or rotation.
This is implemented by directly adding dx to the dx position and dy to the dy position of the matrix.
public OffsetBy ( float dx, float dy ) : void
dx float The amount to add to the x-offset for this node.
dy float The amount to add to the y-offset for this node.
return void
		public virtual void OffsetBy(float dx, float dy) {
			SetOffset(matrix.OffsetX + dx, matrix.OffsetY + dy);
		}