CollisionLayerInfo#
One named collision layer. Id is the stable identity bodies refer to (renaming never breaks them); Bit (0–31) is its compiled slot.
public sealed record CollisionLayerInfo(string Id, string Name, int Bit)Record properties#
| Property | Type | Access | Constructor default |
|---|---|---|---|
Id | string | get; init; | required |
Name | string | get; init; | required |
Bit | int | get; init; | required |
Source#
- CollisionLayers.cs