Enumerationmigueldeicaza.swiftgodot 0.46.0SwiftGodot
BillboardType
VisualShaderNodeBillboard.swift:19enum BillboardType
Cases
case disabled
Billboarding is disabled and the node does nothing.
case enabled
A standard billboarding algorithm is enabled.
case fixedY
A billboarding algorithm to rotate around Y-axis is enabled.
case particles
A billboarding algorithm designed to use on particles is enabled.
case max
Represents the size of the
BillboardType
enum.
Other members in extension
Type members
Instance members
var billboardType: VisualShaderNodeBillboard.BillboardType
Controls how the object faces the camera. See
BillboardType
.var keepScale: Bool
If
true
, the shader will keep the scale set for the mesh. Otherwise, the scale is lost when billboarding.
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.