MeshConvexDecompositionSettings
Parameters to be used with a Mesh
convex decomposition operation.
class MeshConvexDecompositionSettings
Parameters to be used with a Mesh
convex decomposition operation.
Superclasses
class RefCounted
Base class for reference-counted objects.
Citizens in SwiftGodot
Conformances
protocol CustomStringConvertible
A type with a customized textual representation.
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 Identifiable<ID>
A class of types whose instances hold the value of an entity with stable identity.
protocol VariantRepresentable
Types that conform to VariantRepresentable can be stored directly in
Variant
with no conversion. These include all of the Variant types from Godot (for exampleGString
,Rect
,Plane
), Godot objects (those that subclass SwiftGodot.Object) as well as the built-in Swift types UInt8, Int64 and Double.protocol VariantStorable
Types that conform to VariantStorable can be stored in a Variant and can be extracted back out of a Variant.
Types
Type members
Instance members
var convexHullApproximation: Bool
If enabled 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 enabled 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 enabled projects output convex hull vertices onto 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
.