Class DecomposedHulls
- Namespace
- Stride.BepuPhysics.Definitions
- Assembly
- Stride.BepuPhysics.dll
A collection of convex hulls decomposed from an input model
[DataContract]
[ContentSerializer(typeof(DataContentSerializer<DecomposedHulls>))]
[DataSerializerGlobal(typeof(CloneSerializer<DecomposedHulls>), null, DataSerializerGenericMode.None, false, false, Profile = "Clone")]
[DataSerializerGlobal(typeof(ReferenceSerializer<DecomposedHulls>), null, DataSerializerGenericMode.None, false, false, Profile = "Content")]
public class DecomposedHulls
- Inheritance
-
DecomposedHulls
Constructors
DecomposedHulls()
public DecomposedHulls()
DecomposedHulls(DecomposedMesh[])
This method expects full ownership over this array
public DecomposedHulls(DecomposedHulls.DecomposedMesh[] meshes)
Parameters
meshes
DecomposedMesh[]
Properties
Meshes
Convex hulls for each meshes the decomposed model contained
public ReadOnlySpan<DecomposedHulls.DecomposedMesh> Meshes { get; }