public WindModelAccessor GetWind(ScriptInstance instance)
        {
            lock (instance)
            {
                WindModel model = instance.Part.ObjectGroup.Scene.Environment.Wind as WindModel;
                if (model == null)
                {
                    throw new TestWindException("Wrong wind model in region for test wind");
                }

                return(new WindModelAccessor(model));
            }
        }
 public WindModelAccessor(WindModel wm)
 {
     m_WindModel = wm;
 }