Class PhysicsColliderShape
[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
Shape
public ColliderShape Shape { get; }
Property Value
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[]