Enumerationmigueldeicaza.swiftgodot 0.45.0SwiftGodot
Shape
RibbonTrailMesh.swift:16enum 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 than0
, 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
protocol CaseIterable
A type that provides a collection of all of its values.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
Type members
Instance members
var debugDescription: String
A textual representation of this instance, suitable for debugging
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.