PhysicsShape
public enum PhysicsShape
extension SKTile.PhysicsShape: CustomStringConvertible, CustomDebugStringConvertible
Overview:
Describes the tile’s physics shape.
Properties
Property | Description |
---|---|
none | No physics shape. |
rectangle | Rectangular object shape. |
ellipse | Circular object shape. |
texture | Texture-based shape. |
path | Open path. |
-
Declaration
Swift
public var description: String { get }
-
Declaration
Swift
public var debugDescription: String { get }