Inheritance #

RefCounted

- AESContext
- AStar2D
- AStar3D
- AStarGrid2D
- AudioEffectInstance (1)
- AudioSample
- AudioSamplePlayback
- AudioStreamPlayback (5)
- CameraFeed
- CharFXTransform
- ConfigFile
- Crypto
- DTLSServer
- DirAccess
- ENetConnection
- EditorContextMenuPlugin
- EditorDebuggerPlugin
- EditorDebuggerSession
- EditorExportPlatform (6)
- EditorExportPlugin
- EditorExportPreset
- EditorFeatureProfile
- EditorFileSystemImportFormatSupportQuery
- EditorInspectorPlugin
- EditorResourceConversionPlugin
- EditorResourcePreviewGenerator
- EditorResourceTooltipPlugin
- EditorSceneFormatImporter (4)
- EditorScenePostImport
- EditorScenePostImportPlugin
- EditorScript
- EditorTranslationParserPlugin
- EncodedObjectAsID
- EngineProfiler
- Expression
- FileAccess
- GLTFObjectModelProperty
- HMACContext
- HTTPClient
- HashingContext
- ImageFormatLoader (1)
- JavaClass
- JavaObject
- JavaScriptObject
- KinematicCollision2D
- KinematicCollision3D
- Lightmapper (1)
- MeshConvexDecompositionSettings
- MeshDataTool
- MultiplayerAPI (2)
- Mutex
- NavigationPathQueryParameters2D
- NavigationPathQueryParameters3D
- NavigationPathQueryResult2D
- NavigationPathQueryResult3D
- Node3DGizmo (1)
- OggPacketSequencePlayback
- OpenXRAPIExtension
- PCKPacker
- PackedDataContainerRef
- PacketPeer (8)
- PhysicsPointQueryParameters2D
- PhysicsPointQueryParameters3D
- PhysicsRayQueryParameters2D
- PhysicsRayQueryParameters3D
- PhysicsShapeQueryParameters2D
- PhysicsShapeQueryParameters3D
- PhysicsTestMotionParameters2D
- PhysicsTestMotionParameters3D
- PhysicsTestMotionResult2D
- PhysicsTestMotionResult3D
- RDAttachmentFormat
- RDFramebufferPass
- RDPipelineColorBlendState
- RDPipelineColorBlendStateAttachment
- RDPipelineDepthStencilState
- RDPipelineMultisampleState
- RDPipelineRasterizationState
- RDPipelineSpecializationConstant
- RDSamplerState
- RDShaderSource
- RDTextureFormat
- RDTextureView
- RDUniform
- RDVertexAttribute
- RandomNumberGenerator
- RegEx
- RegExMatch
- RenderSceneBuffers (2)
- RenderSceneBuffersConfiguration
- Resource (103)
- ResourceFormatLoader
- ResourceFormatSaver
- ResourceImporter (16)
- SceneState
- SceneTreeTimer
- Semaphore
- SkinReference
- StreamPeer (5)
- SurfaceTool
- TCPServer
- TLSOptions
- TextLine
- TextParagraph
- TextServer (1)
- Thread
- TranslationDomain
- TriangleMesh
- Tween
- Tweener (5)
- UDPServer
- UPNP
- UPNPDevice
- WeakRef
- WebRTCPeerConnection (1)
- XMLParser
- XRInterface (4)
- XRPose
- XRTracker (2)
- ZIPPacker
- ZIPReader
MeshConvexDecompositionSettings

Table of contents

MeshConvexDecompositionSettings #

is_refcounted, is_instantiable, core, not_builtin_classes

Parameters to be used with a Mesh convex decomposition operation.

Parameters to be used with a Mesh convex decomposition operation.

Members #

var convex_hull_approximation: bool = true#

If true, uses approximation for computing convex hulls.

var convex_hull_downsampling: int = 4#

Controls the precision of the convex-hull generation process during the clipping plane selection stage. Ranges from 1 to 16.

var max_concavity: float = 1.0#

Maximum concavity. Ranges from 0.0 to 1.0.

var max_convex_hulls: int = 1#

The maximum number of convex hulls to produce from the merge operation.

var max_num_vertices_per_convex_hull: int = 32#

Controls the maximum number of triangles per convex-hull. Ranges from 4 to 1024.

var min_volume_per_convex_hull: float = 0.0001#

Controls the adaptive sampling of the generated convex-hulls. Ranges from 0.0 to 0.01.

var mode = CONVEX_DECOMPOSITION_MODE_VOXEL#

Mode for the approximate convex decomposition.

var normalize_mesh: bool = false#

If true, normalizes the mesh before applying the convex decomposition.

var plane_downsampling: int = 4#

Controls the granularity of the search for the "best" clipping plane. Ranges from 1 to 16.

var project_hull_vertices: bool = true#

If true, projects output convex hull vertices onto the original source mesh to increase floating-point accuracy of the results.

var resolution: int = 10000#

Maximum number of voxels generated during the voxelization stage.

var revolution_axes_clipping_bias: float = 0.05#

Controls the bias toward clipping along revolution axes. Ranges from 0.0 to 1.0.

var symmetry_planes_clipping_bias: float = 0.05#

Controls the bias toward clipping along symmetry planes. Ranges from 0.0 to 1.0.

Methods #

Annotations #

Constants #

const CONVEX_DECOMPOSITION_MODE_VOXEL = 0 enum Mode#

Constant for voxel-based approximate convex decomposition.

const CONVEX_DECOMPOSITION_MODE_TETRAHEDRON = 1 enum Mode#

Constant for tetrahedron-based approximate convex decomposition.

Constructors #

Enums #

Mode#

enum Mode { CONVEX_DECOMPOSITION_MODE_VOXEL = 0, CONVEX_DECOMPOSITION_MODE_TETRAHEDRON = 1, }

Operators #

Signals #

Theme Items #

Tutorials #