Struct PhysicsCompoundData
Component that specifies data relating to compound colliders and blobs
Inherited Members
Namespace: Unity.Physics.Authoring
Syntax
[BakingType]
public struct PhysicsCompoundData : IComponentData, IQueryTypeParameter
Fields
AssociateBlobToBody
Indicates if a blob is associated to a collider
Declaration
public bool AssociateBlobToBody
Field Value
Type | Description |
---|---|
Boolean |
ConvertedBodyInstanceID
Instance ID of the GameObject associated with the body
Declaration
public int ConvertedBodyInstanceID
Field Value
Type | Description |
---|---|
Int32 |
DeferredCompoundBlob
A flag to indicate that calculation of a compound blob should be deferred
Declaration
public bool DeferredCompoundBlob
Field Value
Type | Description |
---|---|
Boolean |
Hash
A hash associated with a compound collider
Declaration
public Hash128 Hash
Field Value
Type | Description |
---|---|
Hash128 |
RegisterBlob
A flag to indicate that a compound collider has been calculated
Declaration
public bool RegisterBlob
Field Value
Type | Description |
---|---|
Boolean |