Shape

    RibbonTrailMesh.swift:16
    enum Shape

    Cases

    • case flat

      Gives the mesh a single flat face.

    • case cross

      Gives the mesh two perpendicular flat faces, making a cross shape.

    Other members in extension

    Type members

    Instance members

    • var curve: Curve?

      Determines the size of the ribbon along its length. The size of a particular section segment is obtained by multiplying the baseline size by the value of this curve at the given distance. For values smaller than 0, the faces will be inverted.

    • var sectionLength: Double

      The length of a section of the ribbon.

    • var sectionSegments: Int32

      The number of segments in a section. The curve is sampled on each segment to determine its size. Higher values result in a more detailed ribbon at the cost of performance.

    • var sections: Int32

      The total number of sections on the ribbon.

    • var shape: RibbonTrailMesh.Shape

      Determines the shape of the ribbon.

    • var size: Double

      The baseline size of the ribbon. The size of a particular section segment is obtained by multiplying this size by the value of the curve at the given distance.

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features