CompoundColliderShape Class
Namespace: Stride.PhysicsAssembly: Stride.Physics.dll
Derived from CompoundColliderShape:
public class CompoundColliderShape : ColliderShape, IDisposable
Name | Description | |
---|---|---|
Constructors | ||
CompoundColliderShape() | Initializes a new instance of the CompoundColliderShape class. |
|
Properties | ||
Count | Gets the count. |
|
Item[Int32] | Gets the ColliderShape with the specified i. |
|
Scaling | ||
Methods | ||
AddChildShape(ColliderShape) | Adds a child shape. |
|
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
|
RemoveChildShape(ColliderShape) | Removes a child shape. |
Constructors
CompoundColliderShape()
Initializes a new instance of the CompoundColliderShape class.
public CompoundColliderShape()
Properties
Count
Gets the count.
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The count. |
Item[Int32]
Gets the ColliderShape with the specified i.
public ColliderShape this[int i] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | i | The i. |
Property Value
Type | Description |
---|---|
ColliderShape | The ColliderShape. |
Scaling
public override Vector3 Scaling { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Overrides
| Improve this Doc View SourceMethods
AddChildShape(ColliderShape)
Adds a child shape.
public void AddChildShape(ColliderShape shape)
Parameters
Type | Name | Description |
---|---|---|
ColliderShape | shape | The shape. |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public override void Dispose()
Overrides
RemoveChildShape(ColliderShape)
Removes a child shape.
public void RemoveChildShape(ColliderShape shape)
Parameters
Type | Name | Description |
---|---|---|
ColliderShape | shape | The shape. |