Class MeshConvexDecompositionSettings
- Namespace
- Godot
- Assembly
- GodotSharp.dll
Parameters to be used with a Mesh convex decomposition operation.
public class MeshConvexDecompositionSettings : RefCounted, IDisposable
- Inheritance
-
MeshConvexDecompositionSettings
- Implements
- Inherited Members
Constructors
MeshConvexDecompositionSettings()
public MeshConvexDecompositionSettings()
Properties
ConvexHullApproximation
If enabled uses approximation for computing convex hulls.
public bool ConvexHullApproximation { get; set; }
Property Value
ConvexHullDownsampling
Controls the precision of the convex-hull generation process during the clipping plane selection stage. Ranges from 1
to 16
.
public uint ConvexHullDownsampling { get; set; }
Property Value
MaxConcavity
Maximum concavity. Ranges from 0.0
to 1.0
.
public float MaxConcavity { get; set; }
Property Value
MaxConvexHulls
The maximum number of convex hulls to produce from the merge operation.
public uint MaxConvexHulls { get; set; }
Property Value
MaxNumVerticesPerConvexHull
Controls the maximum number of triangles per convex-hull. Ranges from 4
to 1024
.
public uint MaxNumVerticesPerConvexHull { get; set; }
Property Value
MinVolumePerConvexHull
Controls the adaptive sampling of the generated convex-hulls. Ranges from 0.0
to 0.01
.
public float MinVolumePerConvexHull { get; set; }
Property Value
Mode
Mode for the approximate convex decomposition.
public MeshConvexDecompositionSettings.ModeEnum Mode { get; set; }
Property Value
NormalizeMesh
If enabled normalizes the mesh before applying the convex decomposition.
public bool NormalizeMesh { get; set; }
Property Value
PlaneDownsampling
Controls the granularity of the search for the "best" clipping plane. Ranges from 1
to 16
.
public uint PlaneDownsampling { get; set; }
Property Value
ProjectHullVertices
If enabled projects output convex hull vertices onto original source mesh to increase floating point accuracy of the results.
public bool ProjectHullVertices { get; set; }
Property Value
Resolution
Maximum number of voxels generated during the voxelization stage.
public uint Resolution { get; set; }
Property Value
RevolutionAxesClippingBias
Controls the bias toward clipping along revolution axes. Ranges from 0.0
to 1.0
.
public float RevolutionAxesClippingBias { get; set; }
Property Value
SymmetryPlanesClippingBias
Controls the bias toward clipping along symmetry planes. Ranges from 0.0
to 1.0
.
public float SymmetryPlanesClippingBias { get; set; }
Property Value
Methods
HasGodotClassMethod(in godot_string_name)
Check if the type contains a method with the given name. This method is used by Godot to check if a method exists before invoking it. Do not call or override this method.
protected override bool HasGodotClassMethod(in godot_string_name method)
Parameters
method
godot_string_nameName of the method to check for.
Returns
HasGodotClassSignal(in godot_string_name)
Check if the type contains a signal with the given name. This method is used by Godot to check if a signal exists before raising it. Do not call or override this method.
protected override bool HasGodotClassSignal(in godot_string_name signal)
Parameters
signal
godot_string_nameName of the signal to check for.
Returns
InvokeGodotClassMethod(in godot_string_name, NativeVariantPtrArgs, out godot_variant)
Invokes the method with the given name, using the given arguments. This method is used by Godot to invoke methods from the engine side. Do not call or override this method.
protected override bool InvokeGodotClassMethod(in godot_string_name method, NativeVariantPtrArgs args, out godot_variant ret)
Parameters
method
godot_string_nameName of the method to invoke.
args
NativeVariantPtrArgsArguments to use with the invoked method.
ret
godot_variantValue returned by the invoked method.