Table of Contents

Class SphereColliderShapeDesc

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

Fields

Is2D

[DataMember(10)]
public bool Is2D

Field Value

bool

LocalOffset

[DataMember(30)]
public Vector3 LocalOffset

Field Value

Vector3

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