Enumerationmigueldeicaza.swiftgodot 0.46.0SwiftGodot
CullMode
OccluderPolygon2D.swift:19enum CullMode
Cases
case disabled
Culling is disabled. See
cullMode
.case clockwise
Culling is performed in the clockwise direction. See
cullMode
.case counterClockwise
Culling is performed in the counterclockwise direction. See
cullMode
.
Other members in extension
Type members
Instance members
var closed: Bool
If
true
, closes the polygon. A closed OccluderPolygon2D occludes the light coming from any direction. An opened OccluderPolygon2D occludes the light only at its outline’s direction.var cullMode: OccluderPolygon2D.CullMode
The culling mode to use.
var polygon: PackedVector2Array
A
Vector2
array with the index for polygon’s vertices positions.
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.