Table of Contents

Class PhysicsColliderShape

Namespace
Stride.Physics
Assembly
Stride.Physics.dll
[DataContract]
[ContentSerializer(typeof(DataContentSerializer<PhysicsColliderShape>))]
[DataSerializerGlobal(typeof(CloneSerializer<PhysicsColliderShape>), null, DataSerializerGenericMode.None, false, false, Profile = "Clone")]
[DataSerializerGlobal(typeof(ReferenceSerializer<PhysicsColliderShape>), null, DataSerializerGenericMode.None, false, false, Profile = "Content")]
public class PhysicsColliderShape : IDisposable
Inheritance
PhysicsColliderShape
Implements
Extension Methods

Constructors

PhysicsColliderShape()

public PhysicsColliderShape()

PhysicsColliderShape(IEnumerable<IAssetColliderShapeDesc>)

public PhysicsColliderShape(IEnumerable<IAssetColliderShapeDesc> descriptions)

Parameters

descriptions IEnumerable<IAssetColliderShapeDesc>

Properties

Descriptions

Used to serialize one or more collider shapes into one single shape Reading this value will automatically parse the Shape property into its description Writing this value will automatically compose, create and populate the Shape property

[DataMember]
public List<IAssetColliderShapeDesc> Descriptions { get; }

Property Value

List<IAssetColliderShapeDesc>

Shape

public ColliderShape Shape { get; }

Property Value

ColliderShape

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

New(params IAssetColliderShapeDesc[])

public static PhysicsColliderShape New(params IAssetColliderShapeDesc[] descriptions)

Parameters

descriptions IAssetColliderShapeDesc[]

Returns

PhysicsColliderShape