Table of Contents

Class ConvexHullColliderShapeDesc

Namespace
Stride.Physics
Assembly
Stride.Physics.dll
[ContentSerializer(typeof(DataContentSerializer<ConvexHullColliderShapeDesc>))]
[DataContract("ConvexHullColliderShapeDesc")]
[Display(500, "Convex Hull", null)]
public class ConvexHullColliderShapeDesc : IAssetColliderShapeDesc, IColliderShapeDesc
Inheritance
ConvexHullColliderShapeDesc
Implements

Fields

ConvexHulls

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

Field Value

List<List<List<Vector3>>>

ConvexHullsIndices

[Display(null, null, Browsable = false)]
[DataMember(20)]
public List<List<List<uint>>> ConvexHullsIndices

Field Value

List<List<List<uint>>>

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

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

Property Value

ConvexHullDecompositionParameters

Margin

[DataMember(48)]
public float Margin { get; set; }

Property Value

float

Methods

CreateShape(IServiceRegistry)

public ColliderShape CreateShape(IServiceRegistry services)

Parameters

services IServiceRegistry

Returns

ColliderShape

Match(object)

public bool Match(object obj)

Parameters

obj object

Returns

bool