protected static bool ParseTexBorderColor( string parameters, MaterialScriptContext context )
{
string[] values = parameters.Split( new char[] { ' ', '\t' } );
if ( values.Length != 3 && values.Length != 4 )
{
LogParseError( context, "Bad tex_border_color attribute, wrong number of parameters (expected 3 or 4)." );
}
else
{
context.textureUnit.TextureBorderColor = StringConverter.ParseColor( values );
}
return false;
}