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
FileExtension
public const string FileExtension = ".sdhull"
Field Value
LocalOffset
[DataMember(31)]
public Vector3 LocalOffset
Field Value
LocalRotation
[DataMember(32)]
public Quaternion LocalRotation
Field Value
Model
[DataMember(30)]
public Model Model
Field Value
Scaling
[DataMember(45)]
public Vector3 Scaling
Field Value
Properties
Decomposition
Parameters used when decomposing the given Model into a hull
[DataMember(50)]
public ConvexHullDecompositionParameters Decomposition { get; set; }