segmentShapeCreate

    Creates a 2D segment shape in the physics server, and returns the RID that identifies it. Use shapeSetData(shape:data:) to set the segment’s start and end points.

    PhysicsServer2D.swift:499
    static func segmentShapeCreate() -> RID

    Other members in extension

    Types

    Type members