示例#1
0
 /// <summary>
 /// Create a searchlight from all parameters
 /// </summary>
 public SearchLight(Vector3 start, Vector3 end, float startRadius, float endRadius, bool renderSpot = true)
     : this(MtaClient.CreateSearchLight(start.X, start.Y, start.Z, end.X, end.Y, end.Z, startRadius, endRadius, renderSpot))
 {
     relativeEndPosition = end - start;
 }