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: Unity.Physics.Hybrid.dll
Syntax
[Serializable]
public struct CustomPhysicsBodyTags
Fields
Tag00
Tag 0
Declaration
public bool Tag00
Field Value
Type | Description |
---|---|
bool |
Tag01
Tag 1
Declaration
public bool Tag01
Field Value
Type | Description |
---|---|
bool |
Tag02
Tag 2
Declaration
public bool Tag02
Field Value
Type | Description |
---|---|
bool |
Tag03
Tag 3
Declaration
public bool Tag03
Field Value
Type | Description |
---|---|
bool |
Tag04
Tag 4
Declaration
public bool Tag04
Field Value
Type | Description |
---|---|
bool |
Tag05
Tag 5
Declaration
public bool Tag05
Field Value
Type | Description |
---|---|
bool |
Tag06
Tag 6
Declaration
public bool Tag06
Field Value
Type | Description |
---|---|
bool |
Tag07
Tag 7
Declaration
public bool Tag07
Field Value
Type | Description |
---|---|
bool |
Properties
Everything
Gets a Custom
Declaration
public static CustomPhysicsBodyTags Everything { get; }
Property Value
Type | Description |
---|---|
Custom |
Nothing
Gets a Custom
Declaration
public static CustomPhysicsBodyTags Nothing { get; }
Property Value
Type | Description |
---|---|
Custom |
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.
Declaration
public byte Value { get; set; }
Property Value
Type | Description |
---|---|
byte |