Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Component:ConstrainedDelaunayMesh

From Resonite Wiki
Component image 
File:ConstrainedDelaunayMeshComponent.png
Constrained Delaunay Mesh component as seen in the Scene Inspector

The Constrained Delaunay Mesh component generates geometry for a mesh that is a plane that can have holes cut into it, and can be free drawn.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
HighPriorityIntegration Bool If true, integrating this asset (e.g. processing procedural assets) gets higher priority than assets with this flag off. An example is user laser procedural meshes.
OverrideBoundingBox Bool Force the bounding box calculated from this component to use OverridenBoundingBox instead of calculating when requested.
OverridenBoundingBox BoundingBox the bounding box this component should say it has when OverrideBoundingBox is enabled. Useful for bounding box calculations with Flux, or changing the selection box for this component when rendered.
Profile ColorProfile The profile that the vertex colors for this mesh should be displayed in.
Vertices list of ProceduralMeshVertex The vertices that make up the outside edge of the plane.
Holes list of ConstrainedDelaunayMesh.Hole The holes cut into the main mesh.
AutoTriangulationPlane Bool Whether to auto generate the triangulation plane value.
TriangulationCenter Float3 Where to attempt to center the triangulation.
TriangulationPlaneNormal Float3 The plane to align the triangulation calculation with for best fit.
AutoNormals Bool Whether to auto generate normals.
AutoTangents Bool Whether to auto generate tangents.

Hole

Fields
Name Type Description
HoleVertices list of ProceduralMeshVertex The vertices that make up this Hole.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
OnAutoComputePlane:ButtonEventHandler ButtonEventHandler Runs when the plane tries to auto compute the best values for generating the geometry and triangulation.
BakeMesh:Action Action X Bake meshes is a sync method that creates a static mesh component with this component, replaces all references to this component with the static mesh component, then deletes this component.

Usage

Examples

See Also