public Vector4 GetCustomParameter(int parameter)
{
Vector4 retVal;
if (mCustomParameters.TryGetValue(parameter, out retVal))
return retVal;
else
{
throw new Exception("Parameter at the given index was not found!\n" +
"Renderable.GetCustomParameter");
}
}
/// <summary>