Method CastRay
CastRay(RaycastInput)
Declaration
public bool CastRay(RaycastInput input)
Parameters
Type | Name | Description |
---|---|---|
RaycastInput | input |
Returns
Type | Description |
---|---|
bool |
Implements
CastRay(RaycastInput, out RaycastHit)
Declaration
public bool CastRay(RaycastInput input, out RaycastHit closestHit)
Parameters
Type | Name | Description |
---|---|---|
RaycastInput | input | |
RaycastHit | closestHit |
Returns
Type | Description |
---|---|
bool |
Implements
CastRay(RaycastInput, ref NativeList<RaycastHit>)
Declaration
public bool CastRay(RaycastInput input, ref NativeList<RaycastHit> allHits)
Parameters
Type | Name | Description |
---|---|---|
RaycastInput | input | |
NativeList<RaycastHit> | allHits |
Returns
Type | Description |
---|---|
bool |
Implements
CastRay<T>(RaycastInput, ref T)
Declaration
public bool CastRay<T>(RaycastInput input, ref T collector) where T : struct, ICollector<RaycastHit>
Parameters
Type | Name | Description |
---|---|---|
RaycastInput | input | |
T | collector |
Returns
Type | Description |
---|---|
bool |
Type Parameters
Name | Description |
---|---|
T |