Constructor ColliderCastInput
ColliderCastInput(BlobAssetReference<Collider>, float3, float3)
Constructor.
Declaration
public ColliderCastInput(BlobAssetReference<Collider> collider, float3 start, float3 end)
Parameters
Type | Name | Description |
---|---|---|
BlobAssetReference<Collider> | collider | The collider to cast with. |
float3 | start | The starting point. |
float3 | end | The ending point. |
ColliderCastInput(BlobAssetReference<Collider>, float3, float3, quaternion, float)
Constructor.
Declaration
public ColliderCastInput(BlobAssetReference<Collider> collider, float3 start, float3 end, quaternion orientation, float queryColliderScale = 1)
Parameters
Type | Name | Description |
---|---|---|
BlobAssetReference<Collider> | collider | The collider to cast with. |
float3 | start | The starting point. |
float3 | end | The ending point. |
quaternion | orientation | The orientation of the collider. |
float | queryColliderScale | (Optional) The collider scale. |