Table of Contents

Class CapsuleColliderShapeDesc

Namespace
Stride.Physics
Assembly
Stride.Physics.dll
[ContentSerializer(typeof(DataContentSerializer<CapsuleColliderShapeDesc>))]
[DataContract("CapsuleColliderShapeDesc")]
[Display(50, "Capsule", null)]
public class CapsuleColliderShapeDesc : IInlineColliderShapeDesc, IAssetColliderShapeDesc, IColliderShapeDesc
Inheritance
CapsuleColliderShapeDesc
Implements

Fields

Is2D

[DataMember(10)]
public bool Is2D

Field Value

bool

Length

[DataMember(20)]
public float Length

Field Value

float

LocalOffset

[DataMember(50)]
public Vector3 LocalOffset

Field Value

Vector3

LocalRotation

[DataMember(60)]
public Quaternion LocalRotation

Field Value

Quaternion

Orientation

[DataMember(40)]
public ShapeOrientation Orientation

Field Value

ShapeOrientation

Radius

[DataMember(30)]
public float Radius

Field 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