Class MyDetectedEntityInfoHelper
Provides an easy method to create a MyDetectedEntityInfo struct from the detected entity and sensor owner ID
Inheritance
System.Object
MyDetectedEntityInfoHelper
Namespace: Sandbox.Game.Entities
Assembly: Sandbox.Game.dll
Syntax
public static class MyDetectedEntityInfoHelper : Object
Methods
Create(MyEntity, Int64, Nullable<Vector3D>)
Declaration
public static MyDetectedEntityInfo Create(MyEntity entity, long sensorOwner, Nullable<Vector3D> hitPosition = null)
Parameters
Type | Name | Description |
---|---|---|
My |
entity | |
System. |
sensorOwner | |
System. |
hitPosition |
Returns
Type | Description |
---|---|
My |