Documentation
¶
Overview ¶
Parameters to be used with a Mesh convex decomposition operation.
Index ¶
- type Advanced
- type Any
- type Extension
- type ID
- type Instance
- func (self Instance) AsMeshConvexDecompositionSettings() Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) ConvexHullApproximation() bool
- func (self Instance) ConvexHullDownsampling() int
- func (self Instance) ID() ID
- func (self Instance) MaxConcavity() Float.X
- func (self Instance) MaxConvexHulls() int
- func (self Instance) MaxNumVerticesPerConvexHull() int
- func (self Instance) MinVolumePerConvexHull() Float.X
- func (self Instance) Mode() Mode
- func (self Instance) NormalizeMesh() bool
- func (self Instance) PlaneDownsampling() int
- func (self Instance) ProjectHullVertices() bool
- func (self Instance) Resolution() int
- func (self Instance) RevolutionAxesClippingBias() Float.X
- func (self Instance) SetConvexHullApproximation(value bool)
- func (self Instance) SetConvexHullDownsampling(value int)
- func (self Instance) SetMaxConcavity(value Float.X)
- func (self Instance) SetMaxConvexHulls(value int)
- func (self Instance) SetMaxNumVerticesPerConvexHull(value int)
- func (self Instance) SetMinVolumePerConvexHull(value Float.X)
- func (self Instance) SetMode(value Mode)
- func (self Instance) SetNormalizeMesh(value bool)
- func (self *Instance) SetObject(obj [1]gd.Object) bool
- func (self Instance) SetPlaneDownsampling(value int)
- func (self Instance) SetProjectHullVertices(value bool)
- func (self Instance) SetResolution(value int)
- func (self Instance) SetRevolutionAxesClippingBias(value Float.X)
- func (self Instance) SetSymmetryPlanesClippingBias(value Float.X)
- func (self Instance) SymmetryPlanesClippingBias() Float.X
- func (self Instance) Virtual(name string) reflect.Value
- type Mode
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 Extension ¶
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 (*Extension[T]) AsRefCounted ¶
func (self *Extension[T]) AsRefCounted() [1]gd.RefCounted
type 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.
type Instance ¶
type Instance [1]gdclass.MeshConvexDecompositionSettings
Instance of the class with convieniently typed arguments and results.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsMeshConvexDecompositionSettings ¶
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) ConvexHullApproximation ¶
If true, uses approximation for computing convex hulls.
func (Instance) ConvexHullDownsampling ¶
Controls the precision of the convex-hull generation process during the clipping plane selection stage. Ranges from 1 to 16.
func (Instance) MaxConcavity ¶
Maximum concavity. Ranges from 0.0 to 1.0.
func (Instance) MaxConvexHulls ¶
The maximum number of convex hulls to produce from the merge operation.
func (Instance) MaxNumVerticesPerConvexHull ¶
Controls the maximum number of triangles per convex-hull. Ranges from 4 to 1024.
func (Instance) MinVolumePerConvexHull ¶
Controls the adaptive sampling of the generated convex-hulls. Ranges from 0.0 to 0.01.
func (Instance) NormalizeMesh ¶
If true, normalizes the mesh before applying the convex decomposition.
func (Instance) PlaneDownsampling ¶
Controls the granularity of the search for the "best" clipping plane. Ranges from 1 to 16.
func (Instance) ProjectHullVertices ¶
If true, projects output convex hull vertices onto the original source mesh to increase floating-point accuracy of the results.
func (Instance) Resolution ¶
Maximum number of voxels generated during the voxelization stage.
func (Instance) RevolutionAxesClippingBias ¶
Controls the bias toward clipping along revolution axes. Ranges from 0.0 to 1.0.
func (Instance) SetConvexHullApproximation ¶
SetConvexHullApproximation sets the property returned by [GetConvexHullApproximation].
func (Instance) SetConvexHullDownsampling ¶
SetConvexHullDownsampling sets the property returned by [GetConvexHullDownsampling].
func (Instance) SetMaxConcavity ¶
SetMaxConcavity sets the property returned by [GetMaxConcavity].
func (Instance) SetMaxConvexHulls ¶
SetMaxConvexHulls sets the property returned by [GetMaxConvexHulls].
func (Instance) SetMaxNumVerticesPerConvexHull ¶
SetMaxNumVerticesPerConvexHull sets the property returned by [GetMaxNumVerticesPerConvexHull].
func (Instance) SetMinVolumePerConvexHull ¶
SetMinVolumePerConvexHull sets the property returned by [GetMinVolumePerConvexHull].
func (Instance) SetNormalizeMesh ¶
SetNormalizeMesh sets the property returned by [GetNormalizeMesh].
func (Instance) SetPlaneDownsampling ¶
SetPlaneDownsampling sets the property returned by [GetPlaneDownsampling].
func (Instance) SetProjectHullVertices ¶
SetProjectHullVertices sets the property returned by [GetProjectHullVertices].
func (Instance) SetResolution ¶
SetResolution sets the property returned by [GetResolution].
func (Instance) SetRevolutionAxesClippingBias ¶
SetRevolutionAxesClippingBias sets the property returned by [GetRevolutionAxesClippingBias].
func (Instance) SetSymmetryPlanesClippingBias ¶
SetSymmetryPlanesClippingBias sets the property returned by [GetSymmetryPlanesClippingBias].
func (Instance) SymmetryPlanesClippingBias ¶
Controls the bias toward clipping along symmetry planes. Ranges from 0.0 to 1.0.