IMyRemoteControlGetNearestPlayer Method |
v01.180.0 (Beta)[This is preliminary documentation and is subject to change.]
Gets the nearest player's position.
Namespace: Sandbox.ModAPIAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax bool GetNearestPlayer(
out Vector3D playerPosition
)
Function GetNearestPlayer (
<OutAttribute> ByRef playerPosition As Vector3D
) As Boolean
bool GetNearestPlayer(
[OutAttribute] Vector3D% playerPosition
)
abstract GetNearestPlayer :
playerPosition : Vector3D byref -> bool
Parameters
- playerPosition
- Type: Vector3D
Return Value
Type:
BooleanImplements
IMyRemoteControlGetNearestPlayer(Vector3D)See Also