Enumerationmigueldeicaza.swiftgodot 0.46.0SwiftGodot
Mode
MeshConvexDecompositionSettings.swift:19enum Mode
Cases
case voxel
Constant for voxel-based approximate convex decomposition.
case tetrahedron
Constant for tetrahedron-based approximate convex decomposition.
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (14) members.
Type members
Instance members
var convexHullApproximation: Bool
If
true
, uses approximation for computing convex hulls.var convexHullDownsampling: UInt32
Controls the precision of the convex-hull generation process during the clipping plane selection stage. Ranges from
1
to16
.var maxConcavity: Double
Maximum concavity. Ranges from
0.0
to1.0
.var maxConvexHulls: UInt32
The maximum number of convex hulls to produce from the merge operation.
var maxNumVerticesPerConvexHull: UInt32
Controls the maximum number of triangles per convex-hull. Ranges from
4
to1024
.var minVolumePerConvexHull: Double
Controls the adaptive sampling of the generated convex-hulls. Ranges from
0.0
to0.01
.var mode: MeshConvexDecompositionSettings.Mode
Mode for the approximate convex decomposition.
var normalizeMesh: Bool
If
true
, normalizes the mesh before applying the convex decomposition.var planeDownsampling: UInt32
Controls the granularity of the search for the “best” clipping plane. Ranges from
1
to16
.var projectHullVertices: Bool
If
true
, projects output convex hull vertices onto the original source mesh to increase floating-point accuracy of the results.var resolution: UInt32
Maximum number of voxels generated during the voxelization stage.
var revolutionAxesClippingBias: Double
Controls the bias toward clipping along revolution axes. Ranges from
0.0
to1.0
.var symmetryPlanesClippingBias: Double
Controls the bias toward clipping along symmetry planes. Ranges from
0.0
to1.0
.
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.