Table of Contents

Class HullAsset

Namespace
Stride.BepuPhysics.Assets
Assembly
Stride.BepuPhysics.dll
[Display(800, "Hull", null)]
[DataContract("HullAsset")]
[AssetDescription(".sdhull")]
[AssetContentType(typeof(DecomposedHulls))]
[AssetFormatVersion("Stride", "2.0.0.0", "2.0.0.0")]
public class HullAsset : Asset
Inheritance
HullAsset
Inherited Members

Fields

ConvexHulls

Multiple meshes -> Multiple Hulls per mesh

[Display(null, null, Browsable = false)]
[DataMember(10)]
public List<List<DecomposedHulls.Hull>> ConvexHulls

Field Value

List<List<DecomposedHulls.Hull>>

FileExtension

public const string FileExtension = ".sdhull"

Field Value

string

LocalOffset

[DataMember(31)]
public Vector3 LocalOffset

Field Value

Vector3

LocalRotation

[DataMember(32)]
public Quaternion LocalRotation

Field Value

Quaternion

Model

[DataMember(30)]
public Model Model

Field Value

Model

Scaling

[DataMember(45)]
public Vector3 Scaling

Field Value

Vector3

Properties

Decomposition

Parameters used when decomposing the given Model into a hull

[DataMember(50)]
public ConvexHullDecompositionParameters Decomposition { get; set; }

Property Value

ConvexHullDecompositionParameters