/// <summary>
 /// Sets the color of the light in the scene.)
 /// 
 /// </summary>
 public void setLightColor(ColorF color)
     {
     TorqueScriptTemplate.m_ts.fnGuiMaterialPreview_setLightColor(_mSimObjectId, color.AsString());
     }
/// <summary>
/// @brief Set the light color on the sun object used to render the model.
///    @param color Color of sunlight.
///    @tsexample
///    // Set the color value for the sun
///    %color = \"1.0 0.4 0.5\";
///    // Inform the GuiObjectView object to change the sun color to the defined value
///    %thisGuiObjectView.setLightColor(%color);
///    @endtsexample
///    @see GuiControl)
/// 
/// </summary>
public  void setLightColor(string guiobjectview, ColorF color){
m_ts.fnGuiObjectView_setLightColor(guiobjectview, color.AsString());
}
/// <summary>
/// Draws a line primitive between two 3d points. )
/// 
/// </summary>
public  void drawLine(string debugdrawer, Point3F a, Point3F b, ColorF color){
m_ts.fnDebugDrawer_drawLine(debugdrawer, a.AsString(), b.AsString(), color.AsString());
}
/// <summary>
/// Sets the color of the light in the scene.)
/// 
/// </summary>
public  void setLightColor(string guimaterialpreview, ColorF color){
m_ts.fnGuiMaterialPreview_setLightColor(guimaterialpreview, color.AsString());
}
/// <summary>
/// @brief Sets the color of a single list entry at the specified index id.
///    @param index Index id to modify the color of in the list.
///    @param color Color value to set the list entry to.
///    @tsexample
///    // Define the index id value
///    %index = \"5\";
///    // Define the color value
///    %color = \"1.0 0.0 0.0\";
///    // Inform the GuiListBoxCtrl object to change the color of the requested index
///    %thisGuiListBoxCtrl.setItemColor(%index,%color);
///    @endtsexample
///    @see GuiControl)
/// 
/// </summary>
public  void setItemColor(string guilistboxctrl, int index, ColorF color){
m_ts.fnGuiListBoxCtrl_setItemColor(guilistboxctrl, index, color.AsString());
}
 /// <summary>
 /// @brief Sets the color of a single list entry at the specified index id.
 ///    @param index Index id to modify the color of in the list.
 ///    @param color Color value to set the list entry to.
 ///    @tsexample
 ///    // Define the index id value
 ///    %index = \"5\";
 ///    // Define the color value
 ///    %color = \"1.0 0.0 0.0\";
 ///    // Inform the GuiListBoxCtrl object to change the color of the requested index
 ///    %thisGuiListBoxCtrl.setItemColor(%index,%color);
 ///    @endtsexample
 ///    @see GuiControl)
 /// 
 /// </summary>
 public void setItemColor(int index, ColorF color)
     {
     TorqueScriptTemplate.m_ts.fnGuiListBoxCtrl_setItemColor(_mSimObjectId, index, color.AsString());
     }
 /// <summary>
 /// @brief Set the light ambient color on the sun object used to render the model.
 ///    @param color Ambient color of sunlight.
 ///    @tsexample
 ///    // Define the sun ambient color value
 ///    %color = \"1.0 0.4 0.6\";
 ///    // Inform the GuiObjectView object to set the sun ambient color to the requested value
 ///    %thisGuiObjectView.setLightAmbient(%color);
 ///    @endtsexample
 ///    @see GuiControl)
 /// 
 /// </summary>
 public void setLightAmbient(ColorF color)
     {
     TorqueScriptTemplate.m_ts.fnGuiObjectView_setLightAmbient(_mSimObjectId, color.AsString());
     }
 /// <summary>
 /// Return the integer character code value corresponding to the first character in the given string.
 ///     )
 /// 
 /// </summary>
 public ColorF dnt_testcase_4(ColorF chr)
     {
     return new ColorF(m_ts.fn_dnt_testcase_4(chr.AsString()));
     }