Table of Contents

Class CylinderColliderShapeDesc

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

Fields

Height

[DataMember(10)]
public float Height

Field Value

float

LocalOffset

[DataMember(40)]
public Vector3 LocalOffset

Field Value

Vector3

LocalRotation

[DataMember(50)]
public Quaternion LocalRotation

Field Value

Quaternion

Orientation

[DataMember(30)]
public ShapeOrientation Orientation

Field Value

ShapeOrientation

Radius

[DataMember(20)]
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