Example #1
0
 /// <summary>
 /// Create a light with all the parameters
 /// </summary>
 public Light(LightType type, Vector3 position, float radius, Color color, Vector3 direction, bool createShadow = false)
     : this(MtaClient.CreateLight((int)type, position.X, position.Y, position.Z, radius, color.R, color.G, color.B, direction.X, direction.Y, direction.Z, createShadow))
 {
 }