reckfellENGINE

MeshConvexDecompositionSettings

Parameters to be used with a Mesh convex decomposition operation.

On this page
class MeshConvexDecompositionSettingsReckfellSharpInherits RefCounted

Parameters to be used with a Mesh convex decomposition operation.

Parameters to be used with a Mesh convex decomposition operation.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

MeshConvexDecompositionSettingsConstructor
# MeshConvexDecompositionSettings
C#
public MeshConvexDecompositionSettings();

Properties13

ConvexHullApproximationProperty
# ConvexHullApproximation
C#
public bool ConvexHullApproximation { get; set; }

If true, uses approximation for computing convex hulls.

ConvexHullDownsamplingProperty
# ConvexHullDownsampling
C#
public uint ConvexHullDownsampling { get; set; }

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

MaxConcavityProperty
# MaxConcavity
C#
public float MaxConcavity { get; set; }

Maximum concavity. Ranges from 0.0 to 1.0.

MaxConvexHullsProperty
# MaxConvexHulls
C#
public uint MaxConvexHulls { get; set; }

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

MaxNumVerticesPerConvexHullProperty
# MaxNumVerticesPerConvexHull
C#
public uint MaxNumVerticesPerConvexHull { get; set; }

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

MinVolumePerConvexHullProperty
# MinVolumePerConvexHull
C#
public float MinVolumePerConvexHull { get; set; }

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

ModeProperty
# Mode
C#
public MeshConvexDecompositionSettings.ModeEnum Mode { get; set; }

Mode for the approximate convex decomposition.

NormalizeMeshProperty
# NormalizeMesh
C#
public bool NormalizeMesh { get; set; }

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

PlaneDownsamplingProperty
# PlaneDownsampling
C#
public uint PlaneDownsampling { get; set; }

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

ProjectHullVerticesProperty
# ProjectHullVertices
C#
public bool ProjectHullVertices { get; set; }

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

ResolutionProperty
# Resolution
C#
public uint Resolution { get; set; }

Maximum number of voxels generated during the voxelization stage.

RevolutionAxesClippingBiasProperty
# RevolutionAxesClippingBias
C#
public float RevolutionAxesClippingBias { get; set; }

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

SymmetryPlanesClippingBiasProperty
# SymmetryPlanesClippingBias
C#
public float SymmetryPlanesClippingBias { get; set; }

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

Methods26

GetConvexHullApproximationbool
# GetConvexHullApproximation
C#
public bool GetConvexHullApproximation();
Returns bool
GetConvexHullDownsamplinguint
# GetConvexHullDownsampling
C#
public uint GetConvexHullDownsampling();
Returns uint
GetMaxConcavityfloat
# GetMaxConcavity
C#
public float GetMaxConcavity();
Returns float
GetMaxConvexHullsuint
# GetMaxConvexHulls
C#
public uint GetMaxConvexHulls();
Returns uint
GetMaxNumVerticesPerConvexHulluint
# GetMaxNumVerticesPerConvexHull
C#
public uint GetMaxNumVerticesPerConvexHull();
Returns uint
GetMinVolumePerConvexHullfloat
# GetMinVolumePerConvexHull
C#
public float GetMinVolumePerConvexHull();
Returns float
GetModeMeshConvexDecompositionSettings.ModeEnum
# GetMode
C#
public MeshConvexDecompositionSettings.ModeEnum GetMode();
Returns MeshConvexDecompositionSettings.ModeEnum
GetNormalizeMeshbool
# GetNormalizeMesh
C#
public bool GetNormalizeMesh();
Returns bool
GetPlaneDownsamplinguint
# GetPlaneDownsampling
C#
public uint GetPlaneDownsampling();
Returns uint
GetProjectHullVerticesbool
# GetProjectHullVertices
C#
public bool GetProjectHullVertices();
Returns bool
GetResolutionuint
# GetResolution
C#
public uint GetResolution();
Returns uint
GetRevolutionAxesClippingBiasfloat
# GetRevolutionAxesClippingBias
C#
public float GetRevolutionAxesClippingBias();
Returns float
GetSymmetryPlanesClippingBiasfloat
# GetSymmetryPlanesClippingBias
C#
public float GetSymmetryPlanesClippingBias();
Returns float
SetConvexHullApproximationvoid
# SetConvexHullApproximation
C#
public void SetConvexHullApproximation(bool convexHullApproximation);
Parameters
NameTypeDefault
convexHullApproximationbool—
SetConvexHullDownsamplingvoid
# SetConvexHullDownsampling
C#
public void SetConvexHullDownsampling(uint convexHullDownsampling);
Parameters
NameTypeDefault
convexHullDownsamplinguint—
SetMaxConcavityvoid
# SetMaxConcavity
C#
public void SetMaxConcavity(float maxConcavity);
Parameters
NameTypeDefault
maxConcavityfloat—
SetMaxConvexHullsvoid
# SetMaxConvexHulls
C#
public void SetMaxConvexHulls(uint maxConvexHulls);
Parameters
NameTypeDefault
maxConvexHullsuint—
SetMaxNumVerticesPerConvexHullvoid
# SetMaxNumVerticesPerConvexHull
C#
public void SetMaxNumVerticesPerConvexHull(uint maxNumVerticesPerConvexHull);
Parameters
NameTypeDefault
maxNumVerticesPerConvexHulluint—
SetMinVolumePerConvexHullvoid
# SetMinVolumePerConvexHull
C#
public void SetMinVolumePerConvexHull(float minVolumePerConvexHull);
Parameters
NameTypeDefault
minVolumePerConvexHullfloat—
SetModevoid
# SetMode
C#
public void SetMode(MeshConvexDecompositionSettings.ModeEnum mode);
Parameters
NameTypeDefault
modeMeshConvexDecompositionSettings.ModeEnum—
SetNormalizeMeshvoid
# SetNormalizeMesh
C#
public void SetNormalizeMesh(bool normalizeMesh);
Parameters
NameTypeDefault
normalizeMeshbool—
SetPlaneDownsamplingvoid
# SetPlaneDownsampling
C#
public void SetPlaneDownsampling(uint planeDownsampling);
Parameters
NameTypeDefault
planeDownsamplinguint—
SetProjectHullVerticesvoid
# SetProjectHullVertices
C#
public void SetProjectHullVertices(bool projectHullVertices);
Parameters
NameTypeDefault
projectHullVerticesbool—
SetResolutionvoid
# SetResolution
C#
public void SetResolution(uint minVolumePerConvexHull);
Parameters
NameTypeDefault
minVolumePerConvexHulluint—
SetRevolutionAxesClippingBiasvoid
# SetRevolutionAxesClippingBias
C#
public void SetRevolutionAxesClippingBias(float revolutionAxesClippingBias);
Parameters
NameTypeDefault
revolutionAxesClippingBiasfloat—
SetSymmetryPlanesClippingBiasvoid
# SetSymmetryPlanesClippingBias
C#
public void SetSymmetryPlanesClippingBias(float symmetryPlanesClippingBias);
Parameters
NameTypeDefault
symmetryPlanesClippingBiasfloat—

MeshConvexDecompositionSettings.ModeEnum

ValueDescription
Tetrahedron = 1

Constant for tetrahedron-based approximate convex decomposition.

Voxel = 0

Constant for voxel-based approximate convex decomposition.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.