Table of Contents

Class BoxColliderShapeDesc

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

Fields

Is2D

[DataMember(5)]
public bool Is2D

Field Value

bool

LocalOffset

[DataMember(20)]
public Vector3 LocalOffset

Field Value

Vector3

LocalRotation

[DataMember(30)]
public Quaternion LocalRotation

Field Value

Quaternion

Size

[DataMember(10)]
public Vector3 Size

Field Value

Vector3

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