Struct CustomPhysicsBodyTags
Custom physics Body Tags.
A lightweight type containing eight tags that can be individually toggled. Designed for tagging of rigid bodies.
Inherited Members
Namespace: Unity.Physics.Authoring
Assembly: solution.dll
Syntax
[Serializable]
public struct CustomPhysicsBodyTags
Fields
Name | Description |
---|---|
Tag00 | Tag 0 |
Tag01 | Tag 1 |
Tag02 | Tag 2 |
Tag03 | Tag 3 |
Tag04 | Tag 4 |
Tag05 | Tag 5 |
Tag06 | Tag 6 |
Tag07 | Tag 7 |
Properties
Name | Description |
---|---|
Everything | Gets a CustomPhysicsBodyTags instance with all tags set to true. |
Nothing | Gets a CustomPhysicsBodyTags instance with all tags set to false. |
Value | A compact bitarray property representing the value of the tags 0 to 7 in a single byte. The i'th bit in the byte represents the value of the i'th tag, with a 1 corresponding to the true state. |