Enumerationmigueldeicaza.swiftgodot 0.45.0SwiftGodot
ShadowMode
OmniLight3D.swift:18enum ShadowMode
Cases
case dualParaboloid
Shadows are rendered to a dual-paraboloid texture. Faster than .shadowCube, but lower-quality.
case cube
Shadows are rendered to a cubemap. Slower than .shadowDualParaboloid, but higher-quality.
Other members in extension
Type members
Instance members
var omniAttenuation: Double
The light’s attenuation (drop-off) curve. A number of presets are available in the Inspector by right-clicking the curve. Zero and negative values are allowed but can produce unusual effects.
var omniRange: Double
The light’s radius. Note that the effectively lit area may appear to be smaller depending on the
omniAttenuation
in use. No matter theomniAttenuation
in use, the light will never reach anything outside this radius.var omniShadowMode: OmniLight3D.ShadowMode
See
ShadowMode
.
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.