Boolean GeometryRayCastSettings.HitFaces { get; set; }

Specifies whether ray casting should hit faces. Defaults to true.