Class PickFromDistance
Inherited Members
Namespace: Unity.Reflect.Actors
Syntax
public class PickFromDistance : BasePickingLogic, ISpatialPickingLogic
Constructors
PickFromDistance(Vector3, Single)
Declaration
public PickFromDistance(Vector3 origin, float distance)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | origin | |
| Single | distance |
Methods
CheckIntersection(Bounds, ISpatialObject)
Declaration
public override bool CheckIntersection(Bounds bounds, ISpatialObject obj)
Parameters
| Type | Name | Description |
|---|---|---|
| Bounds | bounds | |
| ISpatialObject | obj |
Returns
| Type | Description |
|---|---|
| Boolean |