MyDetectedEntityInfo Constructor |
v01.180.0 (Beta)[This is preliminary documentation and is subject to change.]
Namespace: Sandbox.ModAPI.IngameAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public MyDetectedEntityInfo(
long entityId,
string name,
MyDetectedEntityType type,
Nullable<Vector3D> hitPosition,
MatrixD orientation,
Vector3 velocity,
MyRelationsBetweenPlayerAndBlock relationship,
BoundingBoxD boundingBox,
long timeStamp
)
Public Sub New (
entityId As Long,
name As String,
type As MyDetectedEntityType,
hitPosition As Nullable(Of Vector3D),
orientation As MatrixD,
velocity As Vector3,
relationship As MyRelationsBetweenPlayerAndBlock,
boundingBox As BoundingBoxD,
timeStamp As Long
)
public:
MyDetectedEntityInfo(
long long entityId,
String^ name,
MyDetectedEntityType type,
Nullable<Vector3D> hitPosition,
MatrixD orientation,
Vector3 velocity,
MyRelationsBetweenPlayerAndBlock relationship,
BoundingBoxD boundingBox,
long long timeStamp
)
new :
entityId : int64 *
name : string *
type : MyDetectedEntityType *
hitPosition : Nullable<Vector3D> *
orientation : MatrixD *
velocity : Vector3 *
relationship : MyRelationsBetweenPlayerAndBlock *
boundingBox : BoundingBoxD *
timeStamp : int64 -> MyDetectedEntityInfo
Parameters
- entityId
- Type: SystemInt64
- name
- Type: SystemString
- type
- Type: Sandbox.ModAPI.IngameMyDetectedEntityType
- hitPosition
- Type: SystemNullableVector3D
- orientation
- Type: MatrixD
- velocity
- Type: Vector3
- relationship
- Type: MyRelationsBetweenPlayerAndBlock
- boundingBox
- Type: BoundingBoxD
- timeStamp
- Type: SystemInt64
See Also