Enumerationmigueldeicaza.swiftgodot 0.46.0SwiftGodot
Flag
HingeJoint3D.swift:56enum Flag
Cases
case useLimit
If
true
, the hinges maximum and minimum rotation, defined byangularLimit/lower
andangularLimit/upper
has effects.case enableMotor
When activated, a motor turns the hinge.
case max
Represents the size of the
Flag
enum.
Other members in extension
Types
Type members
Instance members
func getFlag(HingeJoint3D.Flag
) -> Bool Returns the value of the specified flag.
func getParam(HingeJoint3D.Param
) -> Double Returns the value of the specified parameter.
func setFlag(HingeJoint3D.Flag, enabled: Bool
) If
true
, enables the specified flag.func setParam(HingeJoint3D.Param, value: Double
) Sets the value of the specified parameter.
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.