Constructor ColliderDistanceInput
ColliderDistanceInput(BlobAssetReference<Collider>, float, RigidTransform, float)
Constructor.
Declaration
public ColliderDistanceInput(BlobAssetReference<Collider> collider, float maxDistance, RigidTransform transform, float uniformScale = 1)
Parameters
Type | Name | Description |
---|---|---|
BlobAssetReference<Collider> | collider | The collider used to calculate distance from. |
float | maxDistance | The maximum distance. |
RigidTransform | transform | The transform. of the collider |
float | uniformScale | (Optional) The uniform scale of the collider. |