Struct ColliderDistanceInput
Namespace: Unity.Physics
Syntax
public struct ColliderDistanceInput
Constructors
ColliderDistanceInput(BlobAssetReference<Collider>, RigidTransform, Single)
Declaration
public ColliderDistanceInput(BlobAssetReference<Collider> collider, RigidTransform transform, float maxDistance)
Parameters
Type | Name | Description |
---|---|---|
BlobAssetReference<Collider> | collider | |
RigidTransform | transform | |
Single | maxDistance |
Fields
Collider
Declaration
public Collider*Collider
Field Value
Type | Description |
---|---|
Collider* |
MaxDistance
Declaration
public float MaxDistance
Field Value
Type | Description |
---|---|
Single |
Transform
Declaration
public RigidTransform Transform
Field Value
Type | Description |
---|---|
RigidTransform |