MeshConvexDecompositionSettings

package
v0.0.0-...-a66c66c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package MeshConvexDecompositionSettings provides methods for working with MeshConvexDecompositionSettings object instances.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advanced

type Advanced = class

Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.

type Any

type Any interface {
	gd.IsClass
	AsMeshConvexDecompositionSettings() Instance
}

type Extension

type Extension[T gdclass.Interface] struct{ gdclass.Extension[T, Instance] }

Extension can be embedded in a new struct to create an extension of this class. T should be the type that is embedding this Extension

func (*Extension[T]) AsMeshConvexDecompositionSettings

func (self *Extension[T]) AsMeshConvexDecompositionSettings() Instance

func (*Extension[T]) AsObject

func (self *Extension[T]) AsObject() [1]gd.Object

func (*Extension[T]) AsRefCounted

func (self *Extension[T]) AsRefCounted() [1]gd.RefCounted

type ID

type ID Object.ID

ID is a typed object ID (reference) to an instance of this class, use it to store references to objects with unknown lifetimes, as an ID will not panic on use if the underlying object has been destroyed.

func (ID) Instance

func (id ID) Instance() (Instance, bool)

type Instance

Parameters to be used with a [Mesh] convex decomposition operation.

var Nil Instance

Nil is a nil/null instance of the class. Equivalent to the zero value.

func New

func New() Instance

func (Instance) AsMeshConvexDecompositionSettings

func (self Instance) AsMeshConvexDecompositionSettings() Instance

func (Instance) AsObject

func (self Instance) AsObject() [1]gd.Object

func (Instance) AsRefCounted

func (self Instance) AsRefCounted() [1]gd.RefCounted

func (Instance) ConvexHullApproximation

func (self Instance) ConvexHullApproximation() bool

func (Instance) ConvexHullDownsampling

func (self Instance) ConvexHullDownsampling() int

func (Instance) ID

func (self Instance) ID() ID

func (Instance) MaxConcavity

func (self Instance) MaxConcavity() Float.X

func (Instance) MaxConvexHulls

func (self Instance) MaxConvexHulls() int

func (Instance) MaxNumVerticesPerConvexHull

func (self Instance) MaxNumVerticesPerConvexHull() int

func (Instance) MinVolumePerConvexHull

func (self Instance) MinVolumePerConvexHull() Float.X

func (Instance) Mode

func (self Instance) Mode() Mode

func (Instance) NormalizeMesh

func (self Instance) NormalizeMesh() bool

func (Instance) PlaneDownsampling

func (self Instance) PlaneDownsampling() int

func (Instance) ProjectHullVertices

func (self Instance) ProjectHullVertices() bool

func (Instance) Resolution

func (self Instance) Resolution() int

func (Instance) RevolutionAxesClippingBias

func (self Instance) RevolutionAxesClippingBias() Float.X

func (Instance) SetConvexHullApproximation

func (self Instance) SetConvexHullApproximation(value bool)

func (Instance) SetConvexHullDownsampling

func (self Instance) SetConvexHullDownsampling(value int)

func (Instance) SetMaxConcavity

func (self Instance) SetMaxConcavity(value Float.X)

func (Instance) SetMaxConvexHulls

func (self Instance) SetMaxConvexHulls(value int)

func (Instance) SetMaxNumVerticesPerConvexHull

func (self Instance) SetMaxNumVerticesPerConvexHull(value int)

func (Instance) SetMinVolumePerConvexHull

func (self Instance) SetMinVolumePerConvexHull(value Float.X)

func (Instance) SetMode

func (self Instance) SetMode(value Mode)

func (Instance) SetNormalizeMesh

func (self Instance) SetNormalizeMesh(value bool)

func (*Instance) SetObject

func (self *Instance) SetObject(obj [1]gd.Object) bool

func (Instance) SetPlaneDownsampling

func (self Instance) SetPlaneDownsampling(value int)

func (Instance) SetProjectHullVertices

func (self Instance) SetProjectHullVertices(value bool)

func (Instance) SetResolution

func (self Instance) SetResolution(value int)

func (Instance) SetRevolutionAxesClippingBias

func (self Instance) SetRevolutionAxesClippingBias(value Float.X)

func (Instance) SetSymmetryPlanesClippingBias

func (self Instance) SetSymmetryPlanesClippingBias(value Float.X)

func (Instance) SymmetryPlanesClippingBias

func (self Instance) SymmetryPlanesClippingBias() Float.X

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

type Mode

type Mode int //gd:MeshConvexDecompositionSettings.Mode
const (
	/*Constant for voxel-based approximate convex decomposition.*/
	ConvexDecompositionModeVoxel Mode = 0
	/*Constant for tetrahedron-based approximate convex decomposition.*/
	ConvexDecompositionModeTetrahedron Mode = 1
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL