SKTileMapNode.AnchorPoint Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public virtual CoreGraphics.CGPoint AnchorPoint { [Foundation.Export("anchorPoint", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] get; [Foundation.Export("setAnchorPoint:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)] set; }
member this.AnchorPoint : CoreGraphics.CGPoint with get, set
Property Value
The default value is [0.5, 0.5], anchoring the frame to the center of the texture.
- Attributes
Remarks
The major use for this property is to change the point around which a tile is rotated. The default value of [0.5, 0.5] indicates the center of the texture.