public Vector4 GetCustomParameter( int index ) { if ( customParams[ index ] == null ) { throw new Exception( "A parameter was not found at the given index" ); } else { return (Vector4)customParams[ index ]; } }