Inheritance #
- AudioServer
- CameraServer
- ClassDB
- DisplayServer
- EditorFileSystemDirectory
- EditorInterface
- EditorPaths
- EditorSelection
- EditorUndoRedoManager
- EditorVCSInterface
- Engine
- EngineDebugger
- FramebufferCacheRD
- GDExtensionManager
- Geometry2D
- Geometry3D
- IP
- Input
- InputMap
- JNISingleton
- JSONRPC
- JavaClassWrapper
- JavaScriptBridge
- MainLoop (1)
- Marshalls
- MovieWriter
- NativeMenu
- NavigationMeshGenerator
- NavigationServer2D
- NavigationServer3D
- Node (21)
- OS
- OpenXRExtensionWrapperExtension
- OpenXRInteractionProfileMetadata
- Performance
- PhysicsDirectBodyState2D (1)
- PhysicsDirectBodyState3D (1)
- PhysicsDirectSpaceState2D (1)
- PhysicsDirectSpaceState3D (1)
- PhysicsServer2D (1)
- PhysicsServer2DManager
- PhysicsServer3D (1)
- PhysicsServer3DManager
- PhysicsServer3DRendering
ServerHandler
- ProjectSettings
- RefCounted (121)
- RenderData (2)
- RenderSceneData (2)
- RenderingDevice
- RenderingServer
- ResourceLoader
- ResourceSaver
- ResourceUID
- ScriptLanguage (1)
- ShaderIncludeDB
- TextServerManager
- ThemeDB
- TileData
- Time
- TranslationServer
- TreeItem
- UndoRedo
- UniformSetCacheRD
- WorkerThreadPool
- XRServer
- XRVRS
- 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
Table of contents
-
var convex_hull_approximation: bool = true -
var convex_hull_downsampling: int = 4 -
var max_concavity: float = 1.0 -
var max_convex_hulls: int = 1 -
var max_num_vertices_per_convex_hull: int = 32 -
var min_volume_per_convex_hull: float = 0.0001 -
var mode = CONVEX_DECOMPOSITION_MODE_VOXEL -
var normalize_mesh: bool = false -
var plane_downsampling: int = 4 -
var project_hull_vertices: bool = true -
var resolution: int = 10000 -
var revolution_axes_clipping_bias: float = 0.05 -
var symmetry_planes_clipping_bias: float = 0.05 -
const CONVEX_DECOMPOSITION_MODE_VOXEL = 0 enum Mode -
const CONVEX_DECOMPOSITION_MODE_TETRAHEDRON = 1 enum Mode -
enum Mode
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,
}