Class BlobAssetReferenceColliderExtension
A blob asset reference collider extension. Enables casting to various collider types.
Inherited Members
Namespace: Unity.Physics.Extensions
Assembly: solution.dll
Syntax
public static class BlobAssetReferenceColliderExtension
Methods
Name | Description |
---|---|
As |
Get a PhysicsComponent instance containing this BlobAssetReference<Collider> |
As |
A BlobAssetReference<Collider> extension method that converts a BlobAssetReference<Collider> to a pointer. |
As |
Get cast pointer to the Collider inside a BlobAssetReference container. |
As<To>(Blob |
Get cast reference to the Collider inside a BlobAssetReference container. |
Set |
Set the Collider* property of a ColliderCastInput struct, avoiding the need for an unsafe block in developer code. |
Set |
Set the Collider* property of a ColliderDistanceInput struct, avoiding the need for an unsafe block in developer code. |