Method GetImpulseAt
GetImpulseAt(Vector3, bool, int, out Vector3, out Quaternion)
Get the signal perceived by a listener at a geven location
선언
public bool GetImpulseAt(Vector3 listenerLocation, bool distance2D, int channelMask, out Vector3 pos, out Quaternion rot)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| Vector3 | listenerLocation | Where the listener is, in world coords |
| bool | distance2D | True if distance calculation should ignore Z |
| int | channelMask | Only Impulse signals on channels in this mask will be considered |
| Vector3 | pos | The combined position impulse signal resulting from all signals active on the specified channels |
| Quaternion | rot | The combined rotation impulse signal resulting from all signals active on the specified channels |
반환
| 타입 | 설명 |
|---|---|
| bool | true if non-trivial signal is returned |