Table of Contents

Class ConeColliderShapeDesc

Namespace
Stride.Physics
Assembly
Stride.Physics.dll
[ContentSerializer(typeof(DataContentSerializer<ConeColliderShapeDesc>))]
[DataContract("ConeColliderShapeDesc")]
[Display(50, "Cone", null)]
public class ConeColliderShapeDesc : IInlineColliderShapeDesc, IAssetColliderShapeDesc, IColliderShapeDesc
Inheritance
ConeColliderShapeDesc
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