CullMode
OccluderPolygon2D.swift:19enum CullModeenum CullModeimport SwiftGodotFramework to write Godot Game Extensions using the Swift Programming Language.
class OccluderPolygon2DDefines a 2D polygon for LightOccluder2D.
case disabledCulling is disabled. See cullMode.
case clockwiseCulling is performed in the clockwise direction. See cullMode.
case counterClockwiseCulling is performed in the counterclockwise direction. See cullMode.
final var cullMode: OccluderPolygon2D.CullMode { get set }The culling mode to use.
override class var godotClassName: StringName { get }final var closed: Bool { get set }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.
final var polygon: PackedVector2Array { get set }A Vector2 array with the index for polygon’s vertices positions.
protocol CaseIterableA type that provides a collection of all of its values.
protocol CustomDebugStringConvertibleA type with a customized textual representation suitable for debugging purposes.
protocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA 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.
init?(rawValue: Int64) var debugDescription: String { get }A textual representation of this instance, suitable for debugging
var hashValue: Int { get }static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)