PhysicsComponent.ColliderShapeCollection Class
Namespace: Stride.EngineAssembly: Stride.Physics.dll
Derived from PhysicsComponent.ColliderShapeCollection:
[DataContract]
public class ColliderShapeCollection : FastCollection<IInlineColliderShapeDesc>, IList<IInlineColliderShapeDesc>, ICollection<IInlineColliderShapeDesc>, IReadOnlyList<IInlineColliderShapeDesc>, IReadOnlyCollection<IInlineColliderShapeDesc>, IEnumerable<IInlineColliderShapeDesc>, IEnumerable
Name | Description | |
---|---|---|
Constructors | ||
ColliderShapeCollection(PhysicsComponent) | ||
Methods | ||
ClearItems() | ||
InsertItem(Int32, IInlineColliderShapeDesc) | ||
RemoveItem(Int32) | ||
SetItem(Int32, IInlineColliderShapeDesc) |
Constructors
ColliderShapeCollection(PhysicsComponent)
public ColliderShapeCollection(PhysicsComponent componentParam)
Parameters
Type | Name | Description |
---|---|---|
PhysicsComponent | componentParam |
Methods
ClearItems()
protected override void ClearItems()
Overrides
Stride.Core.Collections.FastCollection<Stride.Physics.IInlineColliderShapeDesc>.ClearItems()
InsertItem(Int32, IInlineColliderShapeDesc)
protected override void InsertItem(int index, IInlineColliderShapeDesc item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
IInlineColliderShapeDesc | item |
Overrides
Stride.Core.Collections.FastCollection<Stride.Physics.IInlineColliderShapeDesc>.InsertItem(System.Int32, Stride.Physics.IInlineColliderShapeDesc)
RemoveItem(Int32)
protected override void RemoveItem(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Overrides
Stride.Core.Collections.FastCollection<Stride.Physics.IInlineColliderShapeDesc>.RemoveItem(System.Int32)
SetItem(Int32, IInlineColliderShapeDesc)
protected override void SetItem(int index, IInlineColliderShapeDesc item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
IInlineColliderShapeDesc | item |
Overrides
Stride.Core.Collections.FastCollection<Stride.Physics.IInlineColliderShapeDesc>.SetItem(System.Int32, Stride.Physics.IInlineColliderShapeDesc)